ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Tritium

by jeffpatzer ALL Missing

syntax highlighting, tab triggers, multiline comments

Details

  • 2014.01.27.20.04.49
  • github.​com
  • github.​com
  • 10 years ago
  • 3 years ago
  • 11 years ago

Installs

  • Total 605
  • Win 280
  • Mac 187
  • Linux 138
Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

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 git@github.com: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.