Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 2.43 KB

README.md

File metadata and controls

57 lines (43 loc) · 2.43 KB

JetBrains Just plugin

JetBrains Just Command Runner Plugin is a plugin to integrate just commander in JetBrains IDEs.

Plugin features:

  • Just language and file types
  • Syntax highlight for shell script
  • Run recipes by click
  • Run configuration support: Run -> Edit Configurations -> Just or right click on recipe name
  • New justfile by project type, such as Maven, Gradle, Cargo, uv, zig etc.
  • Code completion: settings names, recipe dependencies, variables with dotenv support
  • Navigation for dependency name
  • Language injection for legal Shell script
  • Justfile structure view

How to use?

  • Download and install just command line from https://github.com/casey/just/releases
  • Install JetBrains Just plugin
  • Invoke 'Justfile' item from New file group, and a justfile file will be created with following code:
#!/usr/bin/env just --justfile
                    
hello:
  echo "hello world"
  • Click run button in Gutter and run a recipe/target!

Quick to understand justfile, please click Justfile cheat sheet

Attention: keywords could not be recipe names, such as import, export, alias etc.

Tips: Please put just parameter in quotation mark, such as echo "{{NAME}}" or echo '{{NAME}}', and echo {{NAME}} is not legal script and will not be highlighted. If param as command name, such as {{MVN}} --version, please use exec '{{MVN}}' --version instead.

References