ultrabops.blogg.se

Textmate yosemite
Textmate yosemite














This one is actually three separate packages: SublimeLinter, SublimeLinter-Ruby, and SublimeLinter-rubocop. Uncommitted changes show up in the gutter of the editor. GitGutter is a no-brainer if you use git. Shows what lines I’ve changed, added, or removed in comparison to the local git repository. Emmet expands CSS-ish expressions into full-blown HTML markup. There’s too much to explain in detail here, so be sure to check out the Emmet docs. The headline feature is that it makes writing complex nested markup super easy, but it has expansions and auto-completion for writing CSS/SCSS as well. I write my Rails views with ERB-flavored HTML, so Emmet is an incredible time-saver. When I hit ⏎ return while writing a Ruby comment, DocBlockr will helpfully indent and add the leading # on the next line.

#TEXTMATE YOSEMITE CODE#

This is an install-and-forget-it enhancement to Sublime that saves me keystrokes when writing multi-line code comments.

textmate yosemite

Don’t remember all the options for has_and_belongs_to_many? Just press ⌃ ctrl h.ĭocBlockr. Assuming Dash is installed, I can simply press ⌃ ctrl h in a Sublime editor and DashDoc immediately opens Dash to show the appropriate documentation based on the cursor position. I’m a big fan of Dash, which is a programming documentation browser for the Mac. I use to ⇧ shift ⌘ cmd w (see my key mappings below).ĭashDoc. CloseOtherWindows provides exactly such a command, which you can activate with a right-click, or assign a keyboard shortcut.

textmate yosemite

It’s easy for tabs to get out of control, so I like to activate a “focus mode” where I close all tabs except the one I’m working on. It keeps a history of all copied text, and allows me to use keyboard shortcuts to browse that history or to cycle through previously copied text.ĬloseOtherWindows. There are system-wide solutions, but Clipboard Manager gets the job done for Sublime Text.

textmate yosemite

Programming involves lots of copy and paste, so I consider clipboard history to be essential. With All Autocomplete installed, all open files are searched for autocompletion candidates.Ĭlipboard Manager. Sublime ships with autocomplete behavior, but it is limited to completing strings that exist in the current editor. (Note: I’m using the Primer theme in these screen recordings.)Īll Autocomplete. Protip: if you prefix your path with the : character, AdvancedNewFile will create the file in the same directory as your current Sublime editor tab. AdvancedNewFile supports tab-completion, so you can quickly expand existing directory names. Just press ⌥ opt ⌘ cmd n and type the path (relative to the root of your project) of the file you want to create and press ⏎ return. This is really useful for Rails, where even a brand new project contains dozens of directories. I use AdvancedNewFile to quickly create files at any level of a project folder hierarchy without needing to take my hands off the keyboard. Of course, make sure you have Package Control installed first!ĪdvancedNewFile. Here are the handful of packages that I consider must-haves for Rails development. You can also peek at my latest Sublime Text settings files and snippets by browsing my dotfiles repository on GitHub. Enjoy!ĭid you know that there is a fantastic online repository and discovery tool for Sublime Text packages? The plugin community for Sublime is huge, and there are more packages being added all the time. I’ll keep this article updated as my Sublime preferences change over time.

textmate yosemite

These recommendations are for Sublime Text 3, which is currently in beta, but stable.














Textmate yosemite