IntelliJ IDEA 2023.2 Help

TextMate

TextMate is a general-purpose GUI text editor for macOS.

TextMate support in IntelliJ IDEA allows you to import bundles, matches IntelliJ IDEA and TextMate color schemes, and provides code completion in .markdown files.

Enable the plugin

  1. Press Control+Alt+S to open the IDE settings and then select Plugins | Installed.

  2. Select the checkbox next to the TextMate Bundles plugin.

    Add TextMate bundles
  3. Click Apply to save the changes and close the dialog. Restart the IDE if prompted.

Import TextMate bundles

IntelliJ IDEA allows you to work with TextMate bundles. You can download bundles yourself, for example, from GitHub, store them on your computer, and then import them into IntelliJ IDEA.

Suppose you want IntelliJ IDEA to highlight syntax of the OCaml files.

  1. Download the OCaml TextMate Bundle. It now resides on your hard disk.

  2. Press Control+Alt+S to open the IDE settings and then select Editor | TextMate Bundles.

  3. Click the Add button and locate the OCaml bundle on your disk. It appears in the list of recognized bundles:

    Importing bundles

Test the imported bundles

Once a TextMate bundle is added, IntelliJ IDEA provides syntax highlighting for the file types registered with the bundle. Here's a sample OCaml code fragment that uses the TextMate bundle we've added earlier:

Add TextMate bundles
Last modified: 24 August 2023