Git Product home page Git Product logo

tiltfile.tmbundle's Introduction

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.

tiltfile.tmbundle's People

Contributors

milas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tiltfile.tmbundle's Issues

[bug] Can't make it work for PyCharm

Hi!

I was able to import the bundle under PyCharm, but it doesn't seem to effectively work in the text editor. Am I missing something? Is there a way to debug it locally?

Capture d’écran 2022-06-20 à 10 15 53

Versions [Click to expand]

PyCharm 2021.2.4 (Professional Edition)
Build #PY-212.5712.39, built on December 21, 2021
Runtime version: 11.0.13+8-b1504.49 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.4
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry: ide.balloon.shadow.size=0
Non-Bundled Plugins: org.jetbrains.plugins.go-template (212.5712.51), me.lensvol.blackconnect (0.5.0), name.kropp.intellij.makefile (212.5712.51), com.nerdscorner.android.plugin.github (2.1.1), mobi.hsz.idea.gitignore (4.3.0), com.mallowigi (50.2.0), com.intellij.kubernetes (212.5712.14), org.toml.lang (0.2.155.4114-212), PlantUML integration (5.13.0), com.koxudaxi.poetry (1.1.5-212), com.jetbrains.intellij.datalore (0.1.14-212), ru.adelf.idea.dotenv (2022.1), com.chrisrm.idea.MaterialThemeUI (6.9.1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.