Skip to content

Visual Studio Code extension with Tiltfile syntax highlighting & autocomplete

License

Notifications You must be signed in to change notification settings

tilt-dev/vscode-tilt

Repository files navigation

Official Tiltfile VSCode Extension

The Tiltfile extension provides an improved editing experience for Tiltfile authors.

This extension is currently in alpha state and might feel a bit buggy here and there. If you've encountered any issues, please check the known issues first and give the appropriate one a 👍‍. If your issue has not previously been reported, please add a new one.

Features

  • Starlark syntax highlighting
  • Autocomplete for Tiltfile functions
  • Signature support for Tiltfile functions
  • Hover support for docstrings
  • When Tilt is running, highlight Tiltfile execution errors in VSCode
  • VSCode status bar button to open the Tilt UI in a browser

Requirements

Dev Mode

  • To run the VSCode extension locally, check out our CONTRIBUTING guide

Extension Settings

This extension contributes the following settings:

Tiltfile

  • tiltfile.trace.server: Control the logging level for language server requests/responses (valid values: off (default), verbose, debug).
  • tiltfile.server.port: Set the number of the port where an existing Tilt language server is running. For use while developing the Tiltfile extension.
  • tiltfile.tilt.path: Set the path of the Tilt executable to use as the language server. Defaults to using the tilt binary that is found in the environment.
  • tiltfile.showStatusBarButton: Show a button in the VSCode status bar to open the Tilt WebUI. (default true)
  • tiltfile.tilt.webui.port: When opening the Tilt WebUI, the port to use (default 10350)

About

Visual Studio Code extension with Tiltfile syntax highlighting & autocomplete

Resources

License

Stars

Watchers

Forks

Packages

No packages published