![]() ![]() If you use git, mercurial or subversion, install the matching bundle. Some Useful Bundle Tips Source Code Control Now you can copy, copy, copy, then switch files and paste, paste, paste. ⌃⌥⌘V: Brings up TextMate’s clipboard history.⌃_: Toggles the selected name between CamelCase ( HomeBrew), underscores ( home_brew) and nerdCase ( homeBrew), useful when you use the wrong convention in code (especially if you code in multiple languages).It works on the quotes surrounding the cursor. I use this a lot in Ruby as I normally create strings without interpolation (single-quotes) and then need to change it later. This works well for all brace keys ( [, ( and ). For example, pressing the ( key inserts a ) as well (and where the caret is between the paired characters). Auto-pairingĪuto-pairing is when you type in a character that should be paired in code, and the editor ensures the paired character is also inserted. ![]() There are many ways it does this but today I want to talk about auto-pairs and completions. TextMate 2 tries to reduce the number of keystrokes you need to make to generate good code. ![]() This post follows up with a mish-mash of more tools, ideas and tricks that I also use surprisingly frequently. Previously, I wrote about the TextMate 2 Basics that I use all the time, and I recommend you read that post first. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |