#vscode setup

52 messages · Page 1 of 1 (latest)

jagged mango
low heron
jagged mango
#

my pc cant run intellij due to low specs

low heron
#

o7

sacred elk
#

Probably a missing extension

#

or Vscode my not be recognizing it as a valid project

#

can you run the project in debug?

jagged mango
sacred elk
#

your extensions look fine.

jagged mango
#

soo?

sacred elk
#

does it say Java:Ready in the bottom left corner?

jagged mango
sacred elk
#

says that you are using the wrong version of java

#

what mincraft version are you using?

jagged mango
#

minecraft 1.20.1

sacred elk
#

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

jagged mango
#

yes it is

sacred elk
#

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

jagged mango
#

i change everywhere it says java 17 to 21 but autocomplete still doesn´t work , it compiles

sacred elk
#

in settings search for javahome

jagged mango
#

should it be there?

sacred elk
#

the settings button in the bottom left

jagged mango
sacred elk
#

Ya, search for javahome

#

There should be 2 or 3 references to it.

jagged mango
#

and now?

low heron
#

Um 1.20.1 is Java 17

#

!!jdk

wicked ledgeBOT
#
Adoptium (AdoptOpenJDK)

Java 21 for Minecraft 1.20.5 and later
Java 17 for Minecraft 1.17 to 1.20.4
Java 8 for Minecraft 1.16 and earlier

sacred elk
sacred elk
jagged mango
sacred elk
#

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.

jagged mango
sacred elk
#

try running ./gradlew init

#

probably will fail

sacred elk
jagged mango
#

thx, now the autocomplete works, but there is an error in build.gradle

sacred elk
#

something must still be set to use version 17.

#

just double check for instances of 17 in reference to java in your project files

#

I am out of ideas

jagged mango
#

ok thx

#

really thx for your time

warm oracle
#

Sorry

#

Is it not possible to just not use latest version of loom?

#

I'm probably missing something here