arnoudkooi / sn-scriptsync

Use sn-scriptsync in combination with SN Utils to be able to code in VS Code, including all benefits of a full fledged code editor
https://marketplace.visualstudio.com/items?itemName=arnoudkooicom.sn-scriptsync
Other
43 stars 28 forks source link

reenable background script running using shortcut #92

Closed sanderhahn closed 10 months ago

sanderhahn commented 10 months ago

The run background script shortcut wasn't working, this fixes the issue. The background script file is named something along the lines of script-2003.bg.js on my machine.

arnoudkooi commented 10 months ago

It should work (and does with me) because it matches the /background/ folder in the path https://code.visualstudio.com/api/references/when-clause-contexts Adding a global .bg match doesn't feel like a good solution.

We can continue in #91