Open ChiriVulpes opened 7 years ago
I don't see any configuration loop. The workspace/didChangeConfiguration event would be sent by vscode itself, not vscode-java, so it might be caused by a third-party plugin.
However, what I see is many compilation errors, that disappear eventually, when opening various files. Something's quite fishy there. But ultimately, everything look good
I can see compilation errors all over the place when reopening. That's really bad.
I disabled all my extensions except for this one and it still seems to do it.
When I first loaded the project, I clicked always
on this prompt
, which sets the .vscode/settings.json
to:
{
"java.configuration.updateBuildConfiguration": "automatic"
}
If I change this to interactive
it stops looping, but every time I open the project it shows the same prompt again, and it doesn't download the dependencies either. Is there something I'm doing wrong? My only Java setting is java.trace.server: verbose
I'm not sure why I had ignored it, but I had ignored the .classpath and .project files that were autogenerated by IDEA. Seems like that's what causes the loop. I don't really understand the files, maybe they're incorrect? I committed them, so it should be easier to figure out now anyway.
I'm not sure if I wasn't patient enough back when I posted this issue, but I just tried working on this project in vscode again--after around 5-10 minutes of the project being open I don't get the loop anymore, and all the types load in.
Sorry for bumping this, I have the same issue, did you found out any at least "almost" working solution? Did deleting .classpath and .project worked?
There are multiple ways I used to fix it, the primary way being to just start debugging it, and sometimes that will load everything in. Otherwise, you can try this batch script that I used to use:
rmdir .gradle /s /q
rmdir bin /s /q
rmdir build /s /q
del .project
del .classpath
gradlew setupDecompWorkspace
Run this with VSCode closed, then re-open when it's finished. It may work for you. Sorry I don't have more concrete advice.
I think this was fixed by https://github.com/eclipse/eclipse.jdt.ls/issues/768. Guys, please try to install the latest CI build and let us know if you still experience this issue.
Meh I just read this is a bit different issue (dumb af) so disregard this comment
Tried java-0.32.0-1213.vsix
without any luck - nothing is link-clickable, the fresh setup doesn't seem to do anything since it takes a minute only
Minecraft Forge gradle files work in IntelliJ IDEA but not VSCode.
Environment
Steps To Reproduce
The log is this, and then a loop of the last six lines:
As a result of this, the dependencies don't seem to be downloaded because my java files contain lots of missing references.