Skip to content

virtuecoder/just-syntax-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just Syntax Highlighting for VS Code

Comprehensive syntax highlighting for Justfiles - the configuration files for the just command runner.

Features

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

Installation

Option 1: Install from VS Code Marketplace (Recommended)

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Just Syntax"
  4. Click Install

Option 2: Install from Source

  1. Clone or download this repository
  2. Run npm install to install dependencies
  3. Run npm run package to create a .vsix file
  4. 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

Option 3: Manual Installation

  1. Copy syntaxes/just.tmLanguage.yaml to 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/
  2. Copy package.json and language-configuration.json to the extension directory
  3. Restart VS Code

Usage

The extension automatically activates for files with these extensions:

  • .just
  • justfile
  • Justfile

You can also manually set the language mode to "Just" in VS Code.

Contributing

Contributions are welcome! Please open issues or pull requests on GitHub.

License

MIT License - see LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors