Frage

I am using TextMate version 2.0-alpha.9387, I don't see any options in Preferences.

War es hilfreich?

Lösung

The answer is select View->Theme from menu bar. But I think textmate 2 has bug on that menu item, the menu item is grey and not selectable, I have to make selection of text that I am editing to enable the menu item.

Andere Tipps

Start with an open document

Keyboard:

Ctrl + Command + t, begin typing variable, when "Show TextMate Variables - Bundle Development" is selected, press return.

Mouse:

BundlesBundle DevelopmentShow TextMate Variables

Results:

This displays a large tooltip listing all the environment variables available to the TM, you're looking for "TM_CURRENT_THEME_PATH". The theme name is the same as filename in this path.

Bonus:

You could create a snippet for this as well: Snippet/Command:

${TM_CURRENT_THEME_PATH}

in a snippet with a tab trigger of theme would cause the path to replace theme with the path.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top