How can I save my 2019 VS Code so that I can import it into VS Code 2020?

We just recently downloaded the 2020 WPILib Software and the 2020 version of VS Code along with it. When I try to import a gradle project, I can’t find my code in files, and I don’t know how to save my 2019 code so it’s accessible to import in the new version of VS Code. Can someone help me with this?

When I select the “Import Gradle Project” command it asks to select a project from files. I don’t know how to find it in files.

You select the directory when creating the project. VSCode does not have an “in-memory” option. The directory lives on the filesystem and VSCode is only a “viewer” for that directory (and everything under it)

If you open up the 2019 VSCode with your project, you should be able to figure out where the directory is. Then in 2020 VSCode, just find that directory and open it, and you should be prompted to “import” your project

If you are using a windows device (The same device you used in 2019 to code your robot), the folder will likely be located in your Documents folder.

How do I find my directory in 2020 VS Code? Sorry I’m asking so many questions we are relatively new to java.

We found the code in files and transferred it successfully! Thanks everybody!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.