You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I include CraftTweaker2-MC1120-Main in dependencies, CraftTweaker API is loaded into classpath in the editor instead.
This makes me unable to auto-complete anything in the crafttweaker.api.minecraft package. However runClient worked fine.
Environment: Kubuntu 22.04, VSCode + Extension pack for Java, java.import.gradle.java.home set to my jdk21
I use vscode because it has extensions to search autocomplete items/blocks/fluids in configs and crafttweaker scripts.
Maybe I should use both at the same time, until VSCode has completed their support. IDEA for the code, VSCode for the others.
I sincerely recommend using IntelliJ IDEA instead of VSCode's WIP extensions with Java/Gradle.
Rongmario
changed the title
Wrong package from a dependency is loaded into editor.
VSCode Issues with Classpaths/Configurations
Dec 3, 2024
When I include CraftTweaker2-MC1120-Main in dependencies, CraftTweaker API is loaded into classpath in the editor instead.
This makes me unable to auto-complete anything in the crafttweaker.api.minecraft package. However runClient worked fine.
Environment: Kubuntu 22.04, VSCode + Extension pack for Java,
java.import.gradle.java.home
set to my jdk21My dependencies.gradle
https://gist.github.com/Blue-Beaker/39dd42e9756173f01ba83bfa936f5c00
Also I have
in my gradle.properties.
The text was updated successfully, but these errors were encountered: