raspberrypi / pico-setup-windows

Old Pico-Setup-Windows installer, this repository is no longer in use.
Apache License 2.0
259 stars 38 forks source link

Windows create new project tutorial command does not include vscode settings #9

Closed JazzBrown1 closed 1 year ago

JazzBrown1 commented 1 year ago

Hi

I followed the instructions on this page to create a new project and realised the .vscode folder that was copying was empty.

(https://github.com/raspberrypi/pico-setup-windows/tree/master/docs)/tutorial.md

I assume the contents should be copied too? If so I think this is the correct command:

Copy-Item ${env:PICO_EXAMPLES_PATH}.vscode -recurse

ndabas commented 1 year ago

Correct, that command needs the -Recurse parameter added. Will be fixed in the next release.

bzuidgeest commented 1 year ago

To be a little pedantic. I noticed that when I tried the fixed command from @JazzBrown1 is missing a "\" should be Copy-Item ${env:PICO_EXAMPLES_PATH}\.vscode -recurse

edit: after strugling a little I guess his got lost in the github editor as well as it needs to be escaped aparently :)

ndabas commented 1 year ago

This is fixed in the latest release.