syntax highlighting, tab triggers, multiline comments
- Total 581
- Win 262
- OS X 186
- Linux 133
|Sep 19||Sep 18||Sep 17||Sep 16||Sep 15||Sep 14||Sep 13||Sep 12||Sep 11||Sep 10||Sep 9||Sep 8||Sep 7||Sep 6||Sep 5||Sep 4||Sep 3||Sep 2||Sep 1||Aug 31||Aug 30||Aug 29||Aug 28||Aug 27||Aug 26||Aug 25||Aug 24||Aug 23||Aug 22||Aug 21||Aug 20||Aug 19||Aug 18||Aug 17||Aug 16||Aug 15||Aug 14||Aug 13||Aug 12||Aug 11||Aug 10||Aug 9||Aug 8||Aug 7||Aug 6|
Instructions on how to get set-up
Getting up and going is pretty straight forward.
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone firstname.lastname@example.org:jpatzer/Tritium.tmbundle.git 'Tritium.tmbundle'
osascript -e 'tell app "TextMate" to reload bundles'
How to enable multiline comments
The trick to getting this to work is to tell TextMate to recognize your comments preference. To do this, you'll have to open up your bundle editor (Bundles > Bundle Editor > Show Bundle Editor) and navigate to the Source bundle. Open it and find the comments preference. In the Scope Selector write source.tritium.
Now you can do multiline comments with 'command + /' key combo (or any other that you'd like to define on your own).
At some point I may figure out a better way to do this (I'm probably missing something), but until then you'll have to go about things this way.
If you want to make changes to the bundle
When you make changes to your Git-ified bundle in the Bundle Editor, you’ll need to Reload Bundles for the changes to show up in your repository. Then you’ll need to git add . and commit / push as you would a normal repository.