Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skellock/vscode-just

A Visual Studio Code plugin for working with Just.
https://github.com/skellock/vscode-just

just vscode vscode-extension

Last synced: 3 months ago
JSON representation

A Visual Studio Code plugin for working with Just.

Awesome Lists containing this project

README

        

# just

A `Just` language syntax for colourizing your `justfile`s and running recipes.

![Just in Code](images/just-demo.gif)

# Running A Recipe

* `cmd + shift + p` then type `Just: Run Recipe`
* choose a recipe and press enter

# What is Just?

Just is a task/command/recipe runner. It's a single binary with no dependencies. Small & fast.

[Read more](https://github.com/casey/just) about it on their github page.

# Roadmap

* [x] syntax highlighting
* [x] run recipe
* [ ] pass arguments to recipes
* [ ] choose a non-default justfile
* [ ] tree extension showing recipies and dependencies

# About Just

You:

* create a file in your project directory called `justfile`
* add some recipes
* then run with `just my-recipe` from the command line

Here's a super quick and unhelpful example of a `justfile`:

```just
# behold a recipe
fun:
echo "hi" > tmp.txt
cat tmp.txt
rm tmp.txt

# they can have dependencies
superfun: fun
echo "woah that was fun!"

# and support other inline scripts
js:
#!/usr/bin/env node
console.log('woah, seriously?')

# great for pulling of things that are hard in the shell
ruby:
#!/usr/bin/env ruby
puts "yep."
```