savoirfairelinux / vscode-bitbake

Bitbake language support for Visual Studio Code (Forked from EugenWiens)
https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake
Other
9 stars 0 forks source link

Chore: Delete embedded-documents folder on deactivating language server #103

Closed idillon-sfl closed 11 months ago

idillon-sfl commented 11 months ago

This deletes the embedded-documents folder when the user closes VS Code. It ensures the folder will not get bigger infinitely.

When testing with "Run and debug", note clicking on the "stop" button won't trigger the deletion (not sure why). The "Extension Development Host" window needs to be closed.

This is a temporary implementation for the new release. A somewhat cleaner version will eventually be included on an other branch,

idillon-sfl commented 11 months ago

oh no, I was not expecting this to make the tests fail :/