A Snippet for VS Code to create a simple SCons script for building C++ libraries for godot
Place in appdata%\Code\User\snippets
or go to file -> preferences -> user snippets
, select python from the drop down and paste the code except the "scope": "python",
line into the json that has opened. You'll also need to add "files.associations": {"SConstruct": "python"}
to your settings.json
Type sconsBuildScript
and press tab
. The snippet should appear ready for use.