Importing TextMate Bundles
TextMate bundles become available to IntelliJ IDEA when they are downloaded to your computer.
Import a TextMate bundle
Make sure that the TextMate bundles you want to import to IntelliJ IDEA, are already downloaded. For example, you can find the desired TextMate bundles on GitHub.
In the Settings/Preferences dialog (Ctrl+Alt+S), click TextMate Bundles.
In the TextMate Bundles page, click :
In the Select Path dialog box that opens, locate the desired bundle in the file system, and click OK.
Repeat this step as required and apply your changes.
- If necessary, add the desired file type to the to the imported TM bundle.
For example, if you want Ruby files with
.rbextension to be supported by the IntelliJ IDEA's TextMate integration, you have to open for editing the file
Ruby.tmbundle\Syntaxes\Ruby.plist, locate the section
fileTypes, and under
Then restart IntelliJ IDEA.
Just to make sure that the desired file type will be opened via the TextMate bundles, open File Types page of the Settings/Preferences dialog, among the recognized file types find Files supported via TextMate bundles, and see the list of extensions: