-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode missing imports after creating project #517
Comments
@maxi07 Thanks for the report.
In the discussion you linked, I mentioned that opening the project in a vscode workspace causes this issue, but opening it directly works fine. In the video you attached, it appears you are opening in a workspace. Are you implying that you have also tried running |
no, when i cd into the folder and open with Code.1.mp4 |
When you ran Therefore, you are opening the parent directory ( If it is your intention to create the project within |
thank you, this solved the issue! perhaps something to mention in your documentation for getting started? |
Describe the bug
Hey there! I am trying to configure a new project for an esp32. With your tool i have downloaded the stubs and created a new project with the micropy cli. The project is created, but VS code still complains about failing to resolve the
import machine
.Steps to Reproduce
The stubs then are added to the project and linked in the
settings.json
:Please see my demo video here:
Microcli.1.mp4
But even after a vscode restart, the import cannot be resolved. I tracked your discussion #471, but this also does not work.
Logs
micropy.log
Context (Environment)
The text was updated successfully, but these errors were encountered: