Add syntax highlighting for your Tiltfile
in editors that support TextMate bundles.
Popular editors that support TextMate bundles for syntax highlighting include the JetBrains family of IDEs and more!
The process might vary slightly from one JetBrains IDE to another.
JetBrains has official IDE-specific instructions:
In general, the process is as follows:
- Download
Tiltfile.tmBundle
- Option 1:
git clone https://github.com/tilt-dev/tiltfile.tmbundle
- Option 2: Download ZIP and extract
- Option 1:
- Open the Settings/Preferences dialog (
⌘ ,
on macOS,Ctrl-Alt-S
on Windows) and select Editor | TextMate Bundles - Click the + button and select the path to
tiltfile.tmbundle
directory - Click OK to apply the changes
- Open a
Tiltfile
and enjoy ✨
The TextMate grammar was originally written for Python by MagicStack.
It was adapted for Starlark (the language used in a Tiltfile
) by the Bazel team for the vscode-bazel extension.
The grammar has been converted from JSON to XML/plist using the TextMate Languages extension.