bitwes / gut-extension

VSCode extension to run GUT from the editor.
MIT License
29 stars 6 forks source link

Extension not activated when `addons/gut` in `.gitignore` #13

Closed bitwes closed 7 months ago

bitwes commented 2 years ago

Issue

The extension is activated when:

"activationEvents": [
        "workspaceContains:**/addons/gut/gut.gd"
    ],

If your .gitignore file has addons/gut in it, then VSCode will not activate this extension.

Workaround

One workaround I found was to not ignore gut.gd in .gitignore. This isn't the best, but it works and still excludes the majority of the GUT files.

addons/gut/*
!addons/gut/gut.gd

Related:

https://github.com/eclipse-theia/theia/issues/8669

bitwes commented 7 months ago

Activation changed to any gdscript file. This should no longer matter.