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. These recommendations are for Sublime Text 3, which is currently in beta, but stable.
0 Comments
Leave a Reply. |