Skip to content

linux-china/jetbrains-just-plugin

Repository files navigation

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 high light
  • 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.

References