Skip to content

nk9/just_sublime

Repository files navigation

This Package is Just Sublime

Several tools to help you make the most of the just command runner. Requires Just version 1.10.0.

Syntax Highlighting

The Sublime syntax was based on the one originally made by TonioGela. It has been rewritten to be more expressive and support the latest just features. Conditional chaining, interpolation with expressions, recipe dependencies, nested expressions and groups — the syntax now supports it all!

Screenshot showing syntax highlighting for settings and variables

interpolation

Get instant feedback as you type when you’ve made a syntax error.

errors.mp4

Comments

Use the Sublime comment shortcut (Cmd+/ to easily comment and uncomment lines.

comments.mp4

Check Your just Code

just contains a built-in formatter, which also checks your file for correctness. When you install this package, a Check Justfile Build System will appear in Tools > Build System. It will be available to the Automatic Build System when editing a justfile. You can run it with Cmd+B (macOS), and you'll see any changes and errors in the console. You can also find the Build System in the Goto Anything menu (Cmd+Shift+P).

build_system.mp4

Contributing

Learn how to edit the syntax in CONTRIBUTING.md.