Java VsCode 2023 failed to detect 2022 project type

Hi !

I am unable to import a java 2022 project into the 2023 Vscode WPILib

Any idea, please?
Thank you!

The project you’re trying to import has a missing or corrupted .wpilib/wpilib_preferences.json- you’ll need to have one in the project for the importer to function properly.

Here is the one from 1018’s 2022 code- you can copy it and replace the team number with your own and replace java with cpp if necessary.

After you add that to your project the importer should function properly.

Hi @Ryan_Blue,

Hope you are doing great.
Thank you for your insight.
I really appreciate it.