I'm just going to show you how it can do some really nice syntax an error highlighting and also part of the reason why you think this is really important to integrate is if you're new to typescript and especially if you're new to JavaScript a lot of times I've seen that students have spent a lot of time, and they waste a lot of time on very simple easy to find bugs if they're not using a tool to help streamline the work that they're doing. And as we go through the course we'll experiment more with how this looks and how we can use it more when we test it out. This is one of my favorite things are these screen shots and they have some great animations here showing the system in kind of in play and showing some of the cool things that it does including some very helpful information from a debugging perspective. So until you've installed this plug in or if you're using a different text editor these ones will not work. These are actually specific to the plug in. Now keep in mind these are not sublime specific. So I'm here on the Microsoft home page specifically the page for the typescript sublime plug in and include a link to this in the show notes.Īnd if I come down this page has a lot of very helpful information such as how you can install the system along with some keyboard shortcuts that you can use. So keep in mind, we're not just doing this for right now but this is also going to extend into when we start building in Angular 2 type applications. You'll find that this is really helpful early on when you're learning the typescript language, but you'll find this astronomically more helpful when you get into angular 2 development. If you're using a Mac and you're using the SublimeText text editor, the next step is to build in a great plugin that's actually created by Microsoft directly to give us a lot more power in how we use it and how we can build typescript programs. I love it and absolutely recommend you try it.Now that we have typescript installed on our system. It's ridiculously fast, stable and very extendable. That said it's early days for the editor, and the core framework has clearly been built extremely well. A GUI for configuration would be a good idea as storing preferences in JSON files may appeal to programmers, but it definitely alienates designers. The default website, icon, and theme are ugly to say the least, and it would be convenient to be able to install the editor through the App Store. Sublime Text 2 definitely needs a bit of polishing from a product perspective. So that's a fair bit of setting up required for an editor, most of which you'd think would be the default configuration. GitGutter - show Git diffs in the gutter.To activate the theme, open Sublime's preferences ⌘, (command comma), which is a JSON file, and set the "theme" key to "Soda Light.sublime-theme" (Remember to check commas). To install Soda, open the package manager ( ⌘⇧p), type 'Install Package ↵', and then 'Theme - Soda ↵'. However, luckily there's a beautiful theme called Soda. Sublime's initial look leaves a lot to be desired. Once the manager is set up, you can install packages with ⌘⇧p (command shift p) and typing Install Package. Run Sublime Text, Press ctrl ` (control backtick) to open the editor's console, and paste in the code listed here. I'm hoping in future versions of the editor this package manager will come bundled, but for now it requires a separate installation. That said, that no editor is perfect and Sublime Text does require a fair bit of initial configuration.Īfter you've downloaded & installed the editor, the first step to configuring Sublime Text 2 is to install the package manager. It's fast, extendable and hasn't ever crashed on me. After a quick Twitter poll the unanimous advice was that I should try Sublime Text 2.Īfter a few weeks of using Sublime Text I can safely say that it's the best editor I've used. I recently decided it was finally time to part ways with TextMate, my trusty companion for these last few years, and start the hunt for a new editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |