Language Server for Tilt by Bitno
A private, fast and secure Tiltfile language server for VS Code, with Tilt's own docs.
Early development: this extension is still being built. Expect missing features, rough edges and breaking changes between versions.
Private, fast and secure by design
Built by a developer, for developers, from Serbia. Free, because developer tools should be.
- Private: Your editor, your business: no telemetry, no account, and your code stays on your machine.
- Fast: Starts only when you need it, and does just the work you ask for.
- Secure: Installs nothing it hasn't verified, and never keeps a password in plain text.
Features
- Tiltfiles, colored: the
tiltfile language for files named Tiltfile and *.tiltfile, colored as Python, whose syntax Starlark's is a subset of.
- Syntax errors as you type: from tree-sitter's Starlark parser.
- Outline: your functions, variables and the names
load brings in, in the outline, breadcrumbs and Go to Symbol.
- Completion: Tilt's functions, its modules (
config, os, os.path, shlex, sys, v1alpha1) and their members, your own names, and the keyword arguments a call doesn't have yet.
- Hover: Tilt's docs for its functions, values, modules and keyword arguments, with links to docs.tilt.dev.
- Signature help: a function's parameters as you type its arguments, with the one you're on highlighted.
- Run buttons: Run All above the Tiltfile starts
tilt up in a terminal while Tilt isn't running; once it runs this Tiltfile, Run above each local_resource, k8s_resource and dc_resource reruns it with tilt trigger.
- Your names first: a name your Tiltfile defines itself hides Tilt's of the same name.
- Server status beside the language mode: in the
{} of a Tiltfile, with a spinner while the server starts; it comes into the status bar when the server failed to start, and opens the server's logs when clicked.
Feedback
Found a bug, or missing something? Open an issue. Questions and ideas go there too, as a question. Blunt feedback is welcome.
| |