loganch / AutoIt-VSCode

AutoIt Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=Damien.autoit
MIT License
74 stars 25 forks source link

work around for #209 #210

Closed vanowm closed 8 months ago

vanowm commented 8 months ago

This patch forcibly merging default settings into global config. It doesn't overwrite any modified settings. Would be nice add some cleanup on extension disable/uninstall, but I couldn't find a way to do so.

Fix for #209

loganch commented 8 months ago

Nice catch/find, you're not able to save the state of global config before changes and then undo the changes through the deactivate() function in extension.js?

vanowm commented 8 months ago

Didn't know about that function. How do we test it though? (I mean besides directly calling the function) The extension is not in the list of installed extensions, so I can't disable or uninstall it...

vanowm commented 8 months ago

It seems not possible within this function microsoft/vscode/issues/105484

loganch commented 8 months ago

Yikes, that's unfortunate.