This is a PR for the wiki, but being submitted as an issue due to GitHub not supporting real wiki PRs. Changes are in my wiki fork (https://github.com/swebra/SimpInkScr.wiki.git), with the revision history here and the rendered wiki page section here.
This updates the VSCode instructions to
Use the default repo name in launch.json (SimpInkScr rather than simple_inkscape_scripting), which should be the case for anyone following the README installation instructions
Use Python type hinting to inform VSCode of the available Simple Inkscape Scripting functions and variables. This largely avoids the shortcomings of the previous instructions and should be largely applicable to other external editors.
If you've never managed wiki PRs like this before (I hadn't either!), see this gist.
This is a PR for the wiki, but being submitted as an issue due to GitHub not supporting real wiki PRs. Changes are in my wiki fork (
https://github.com/swebra/SimpInkScr.wiki.git
), with the revision history here and the rendered wiki page section here.This updates the VSCode instructions to
launch.json
(SimpInkScr
rather thansimple_inkscape_scripting
), which should be the case for anyone following the README installation instructionsIf you've never managed wiki PRs like this before (I hadn't either!), see this gist.