You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been chasing this issue for weeks, causing me to move to Thonny to work with my Pi Pico W. Finally being home-sick for Visual Studio Code, I did a clean install of Visual Studio Code and removing all my extensions, and I still had an issue with my folder libraries in my project in /lib not being recognized. Only after the path "./lib" was added to python.analysis.extrapaths at the project folder level did the issue resolve.
So I ask, .vscode\Pico-W-Stub\stubs is already added to python.analysis.extrapaths when the project is configured. Is it possible to have the Pico-W-Go extension add ./lib also when configured? I do not want it at the workspace level because I have other workspaces for different platforms that may not use that strategy for libraries. But since MOST people code this way in Micropython as do myself, I did not want to have to keep adding this subfolder to my python.analysis.extrapaths every time I start a new project.
Is it possible that I can set this up with a custom setting or script?
Thanks for a great extension and your valuable time!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been chasing this issue for weeks, causing me to move to Thonny to work with my Pi Pico W. Finally being home-sick for Visual Studio Code, I did a clean install of Visual Studio Code and removing all my extensions, and I still had an issue with my folder libraries in my project in /lib not being recognized. Only after the path "./lib" was added to python.analysis.extrapaths at the project folder level did the issue resolve.
So I ask, .vscode\Pico-W-Stub\stubs is already added to python.analysis.extrapaths when the project is configured. Is it possible to have the Pico-W-Go extension add ./lib also when configured? I do not want it at the workspace level because I have other workspaces for different platforms that may not use that strategy for libraries. But since MOST people code this way in Micropython as do myself, I did not want to have to keep adding this subfolder to my python.analysis.extrapaths every time I start a new project.
Is it possible that I can set this up with a custom setting or script?
Thanks for a great extension and your valuable time!
Beta Was this translation helpful? Give feedback.
All reactions