Skip to content
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

Import Project #63

Open
Octopus1633 opened this issue Aug 31, 2024 · 6 comments
Open

Import Project #63

Octopus1633 opened this issue Aug 31, 2024 · 6 comments
Labels
question Further information is requested

Comments

@Octopus1633
Copy link

Octopus1633 commented Aug 31, 2024

Hello,

What are the requirements of pico-vscode for imported projects? I can successfully import pico-examples and compile, but when I import my own project, I cannot import it successfully and there is no prompt.

I noticed that there is such a prompt on the import project interface:
Basic Settings
Warning: Project Import Wizard may not work for all projects, and will often require manual correction after the import

@paulober paulober added the question Further information is requested label Sep 2, 2024
@paulober
Copy link
Collaborator

paulober commented Sep 2, 2024

Hi,
do you have any output in the "Output > Extension Host" panel?
and do you have a small example project on GitHub that silently fails when importing?

@jancumps
Copy link

jancumps commented Sep 2, 2024

I have similar experience: New Project From Example works end-to-end.

New Project and Import Project fail silently, after flashing a brief Activating Extensions... notification on the bottom bar.
"Output > Extension Host" is empty. No message logged by the extension.

visual studio 1.19.2
plugin raspberry-pi.raspberry-pi-pico [0.15.2] - 2024-08-23

@dhgoss
Copy link

dhgoss commented Sep 4, 2024

I have same problem. Will not import this project: https://github.com/ThorstenBr/A2DVI-Firmware. Only examples work. Version: 1.92.2 (system setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

@will-v-pi
Copy link
Collaborator

I have same problem. Will not import this project: https://github.com/ThorstenBr/A2DVI-Firmware

I don't see a CMakeLists.txt file in the root of that repository - this extension only works with CMake projects, so requires a CMakeLists.txt file in the root of the project directory

@paulober
Copy link
Collaborator

paulober commented Sep 5, 2024

I have similar experience: New Project From Example works end-to-end.

New Project and Import Project fail silently, after flashing a brief Activating Extensions... notification on the bottom bar. "Output > Extension Host" is empty. No message logged by the extension.

Can you try the latest debug build (so the vsix file prefixed with debug-) and see if you get any output in the developer console (Help > Toggle Developer Tools) when opening a new vscode window with no open folder and then opening our sidebar panel or just running the new project command via the command palette Ctrl+Shift+P > Raspberry Pi Pico > New Project ?

@Octopus1633
Copy link
Author

Hi, do you have any output in the "Output > Extension Host" panel? and do you have a small example project on GitHub that silently fails when importing?

Thanks for your reply. I solved this problem later. It was because my CMakeLists.txt file contained Chinese comments (it was indeed comments). I changed them to English comments or deleted them and it was successfully imported!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants