Skip to content

Tiltfile syntax highlighting support in JetBrains IDEs & others

License

Notifications You must be signed in to change notification settings

tilt-dev/tiltfile.tmbundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiltfile TextMate Bundle

Add syntax highlighting for your Tiltfile in editors that support TextMate bundles.

Screenshot of IntelliJ IDEA open to a Tiltfile with syntax highlighting

Popular editors that support TextMate bundles for syntax highlighting include the JetBrains family of IDEs and more!

Install / Use

JetBrains IDEs (IntelliJ / GoLand / PyCharm / WebStorm)

The process might vary slightly from one JetBrains IDE to another.

JetBrains has official IDE-specific instructions:

In general, the process is as follows:

  1. Download Tiltfile.tmBundle
    • Option 1: git clone https://github.com/tilt-dev/tiltfile.tmbundle
    • Option 2: Download ZIP and extract
  2. Open the Settings/Preferences dialog (⌘ , on macOS, Ctrl-Alt-S on Windows) and select Editor | TextMate Bundles
  3. Click the + button and select the path to tiltfile.tmbundle directory
  4. Click OK to apply the changes
  5. Open a Tiltfile and enjoy ✨

Acknowledgements

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.

About

Tiltfile syntax highlighting support in JetBrains IDEs & others

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published