Closed aallan closed 3 years ago
The C/C++ extension started working when MS released the official ARM port a few weeks back. I updated the instructions at the time to use MS instead of headmelted, not sure if I added anything about C/C++ though.
Do you know what extension you are referring to specifically? I already do code --install-extension ms-vscode.cpptools
Yeah, don't know. I'll try and figure it out. I get prompted to install a C/C++ extension when I load a project.
It looks like somehow the extensions that pico_setup.sh
attempts to install, don't get installed properly?
As I mentioned in Google Chat, I did run the setup script successfully, but I still got prompted to install the C/C++ extension (as Alasdair also is) when I opened a .c file in VSCode.
I just loaded up VSCode on my Pi400 this morning, and when I click on the "Extensions" button on the left, it listed "C/C++" as the only installed extension. So then I closed VSCode, ran the same code --install-extension marus25.cortex-debug
command (in a Terminal) that the setup script tries to run, and when it'd finished installing I opened VSCode again and now it lists two installed extensions: C/C++ and Cortex-Debug.
Clearly more investigation needed... (which I'll try to do this afternoon, if @liamfraser doesn't beat me to it).
I've been trying to reproduce this (as part of investigating #1 ) and the pico_setup.sh
script seems to always successfully install all three extensions; so I'm going to assume that this was a one-off glitch, as I can't now reproduce it.
@liamfraser Looks like MS has ported (finally!) the C/C++ extension to armhf, so we should probably auto-install this as well using the script?