Not sure how it happened we were trying to upload our robot code to our git repository however now the workspace and all our code is still visible invscode but all evidence of wpilib has vanished. no icon none of the wpi files etc… any idea what we did?
When you say none of the wpi files, you mean build.gradle, gradlew.bat, etc?
You could try creating a new project and copying your code into it.
I literally mean no evidence of wpilib at all. Even trying to create new code is not possible as the wpi button in the top right and start page are gone.
Are you using regular VS Code? You have to use the WPILib installer and use that VS Code. The extension for regular VS Code was never meant to be supported.
Nope we had installed it months ago and were writing and deploying code up until yesterday. Then for some reason it seems to have reverted to the base vs code.
(update. we uninstalled all evidence of it and re installed from scratch to get it working but I am just curious if anyone knows what we might have done wrong. We just were trying to create an account that would publish to our github.
I’d concur with @nstrike it sounds like instead of using the wpi vscode install (typically from the icon on the desktop) you inadvertently started vscode. We’ve had that a few times and seen that behavior. Typically it happens that the user searches for VS Code in the list of apps which then leads to getting the non-frc VS Code installation.
go to the extension bar here:
and check if wpilib is installed.
Also make sure you are using this icon on desktop:
Make sure you you are NOT using this icon:
If you use search bar, make sure you use this:
The weird thing is we are loading it from the wpilib icon on the desktop.