Comprehensive syntax highlighting for Justfiles - the configuration files for the just command runner.
This extension provides complete syntax highlighting for all justfile features:
- Recipe definitions with parameters and dependencies
- Variable assignments and settings
- Built-in functions (arch, env_var, etc.)
- String interpolation (
{{variable}}) - Conditional expressions (
if/else) - Embedded language support for shebang recipes
- Comments, imports, modules, and aliases
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Just Syntax"
- Click Install
- Clone or download this repository
- Run
npm installto install dependencies - Run
npm run packageto create a .vsix file - Install the .vsix file in VS Code:
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Click the "..." menu and select "Install from VSIX..."
- Select the generated .vsix file
- Copy
syntaxes/just.tmLanguage.yamlto your VS Code user data directory:- Windows:
%USERPROFILE%\.vscode\extensions\just-syntax\syntaxes\ - macOS:
~/.vscode/extensions/just-syntax/syntaxes/ - Linux:
~/.vscode/extensions/just-syntax/syntaxes/
- Windows:
- Copy
package.jsonandlanguage-configuration.jsonto the extension directory - Restart VS Code
The extension automatically activates for files with these extensions:
.justjustfileJustfile
You can also manually set the language mode to "Just" in VS Code.
Contributions are welcome! Please open issues or pull requests on GitHub.
MIT License - see LICENSE file for details