Topiary
https://github.com/blindFS/topiary-nushell
# Add topiary.exe to PATH
$env.TOPIARY_HOME = "e:/dev/topiary/bin"
# topiary.exe in $env.TOPIARY_HOME
path add $env.TOPIARY_HOME
cd e:/config
mkdir topiary
git clone https://github.com/blindFS/topiary-nushell topiary
Options
Priority Level: vscode plugin config > environment
Add TOPIARY_CONFIG_FILE
and TOPIARY_LANGUAGE_DIR
to environment.
$env.TOPIARY_CONFIG_FILE = "e:/config/topiary/languages.ncl"
$env.TOPIARY_LANGUAGE_DIR ="e:/config/topiary/languages.ncl"
Or add config to .vscode/settings.json
// .vscode/settings.json
{
"[nushell]": {
"editor.defaultFormatter": "constneo.vscode-nushell-format"
},
"editor.formatOnSave": true,
"vscode-nushell-format.TOPIARY_CONFIG_FILE": "e:/config/topiary/languages.ncl",
"vscode-nushell-format.TOPIARY_LANGUAGE_DIR": "e:/config/topiary/languages"
}
Build
npm install
npm install -g @vscode/vsce
vsce package --no-dependencies
Thanks