#vscode setup
52 messages · Page 1 of 1 (latest)
Sorry for the non-answer, but you'll save yourself a lot of hassle if you use IntelliJ (the free version ofc)
https://docs.fabricmc.net/develop/getting-started/setting-up-a-development-environment
All the tooling is built for it.
There's also presets for Vscode hotkeys if that's something you want
my pc cant run intellij due to low specs
o7
Probably a missing extension
or Vscode my not be recognizing it as a valid project
can you run the project in debug?
I have these extensions
your extensions look fine.
soo?
says that you are using the wrong version of java
what mincraft version are you using?
in the find tab look of "17" in all the project files just to make sure java version isn't set to 17 somewhere in a gradle file or other settings file
yes it is
in build.gradle change it.options.release to 21
in mixins.json and client.mixins.json change compatibility to 21
also in build.gradle change sourceCompatibility and targetCompatibility to 21
i change everywhere it says java 17 to 21 but autocomplete still doesn´t work , it compiles
in settings search for javahome
should it be there?
the settings button in the bottom left
here?
and now?
latest loom version uses java 21
in that field put the path to your java 21 jdk
i change that field but the autocomplete still doesnt work and shows this error
You can try checking the box for the maven - terminal settings below that.
Also try with nothing I. Nothing in the search bar, use the side bar to find the settings for the extension language support for java by red hat and settings the javahome path there as well.
i mark the check box and added the java home language support for java by red hat´s settings , now the error message changed
I think that the path for your javahome in your Gradle settings is wrong. try removing /bin