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:
Tiltfile.tmBundle
git clone https://github.com/tilt-dev/tiltfile.tmbundle
⌘ ,
on macOS, Ctrl-Alt-S
on Windows) and select Editor | TextMate Bundlestiltfile.tmbundle
directoryTiltfile
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.