A (soon to be configurable) formatter for BQN.
Basic usage shown below:
bqn-format . # for all bqn files (including subdirectories)
bqn-format test.bqn # for single fileNote, after git clone-ing this repo, you will probably want to put the bqn-format script on your path:
export PATH=$PATH:/home/cph/bqn-formatThere is a Run on Save where you can add something like the following to your JSON Settings:
"emeraldwalk.runonsave": {
"commands": [
{
"match": ".*bqn.*",
"cmd": "bqn-format ${file}"
}
]
},Then your BQN code will be formatted on save.
Eventually there will be a BQN formatter extension or this will be folded into the existing BQN VS Code extension.
Coming.