paulober / MicroPico

MicroPico (aka Pico-W-Go) is a Visual Studio Code extension designed to simplify and speed up the development of MicroPython projects for the Raspberry Pi Pico and Pico W boards.
https://marketplace.visualstudio.com/items?itemName=paulober.pico-w-go
Mozilla Public License 2.0
279 stars 25 forks source link

Add .idea folder to forbiddenFolders #237

Closed Finnomator closed 2 months ago

Finnomator commented 2 months ago

Fix for #236. I am assuming, that this is the list of directories that should be excluded from uploading to the Pi?

paulober commented 2 months ago

Thanks for the contribution. No, it's actually used to reduce requests of the virtual filesystem in vscode as extensions and vscode it self request some of these files in these folders very often so capturing these requests helps keeping the serial connection free. If you want to ignore the .idea folder, you can add it to the default value for following setting: micropico.pyIgnore in the package.json of the extension instead. https://github.com/paulober/MicroPico/blob/5fbe6c04829099c661e69cab713fd82729b6af47/package.json#L363-L384

Finnomator commented 2 months ago

Thanks for the contribution. No, it's actually used to reduce requests of the virtual filesystem in vscode as extensions and vscode it self request some of these files in these folders very often so capturing these requests helps keeping the serial connection free. If you want to ignore the .idea folder, you can add it to the default value for following setting: micropico.pyIgnore in the package.json of the extension instead.

https://github.com/paulober/MicroPico/blob/5fbe6c04829099c661e69cab713fd82729b6af47/package.json#L363-L384

Thanks for the explanation. I have updated the pull request.

paulober commented 2 months ago

@Finnomator Thank for doing the work. Does it work for you / fix your issue?