Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create VSCode workspacefile with haxe and lime recommend extensions and open in VSCode
# get working directory and grab foldername
# create workspacefile
WORKSPACEFILE='{"folders":[{"path": "."}],"settings":{},"extensions":{"recommendations":["vshaxe.haxe-extension-pack","openfl.lime-vscode-extension"]}}'
echo $WORKSPACEFILE >> "${subdir}.code-workspace"
# create .vscode dir
mkdir -p .vscode
# open workspace in vscode
code "$subdir.code-workspace"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment