Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop generating .project .classpath .settings/ files #196

Closed
ghost opened this issue Mar 29, 2022 · 4 comments
Closed

Stop generating .project .classpath .settings/ files #196

ghost opened this issue Mar 29, 2022 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 29, 2022

This issue has already been solved in vscode-java in redhat-developer/vscode-java#2153
and Eclipse JDT Language Server (eclipse.jdt.ls) in eclipse-jdtls/eclipse.jdt.ls#1900 and there
is even a blog post about it at https://devblogs.microsoft.com/java/say-goodbye-to-project-files-in-1-1-0

coc-java running on Vim (8.2) and Node.js (16.14.0) on Fedora Linux (35) still generates those files.

@dashea
Copy link

dashea commented Apr 28, 2022

I was able to get things working by adding "java.jdt.ls.vmargs": "-Djava.import.generatesMetadataFilesAtProjectRoot=false" to my :CocConfig file. I'm not sure why this isn't the default from coc-java, but I haven't looked very hard into how it launches the language server.

@ghost
Copy link
Author

ghost commented May 20, 2022

@chemzqm any insight on this?

@chemzqm
Copy link
Member

chemzqm commented May 21, 2022

Need some time to upgrade coc-java, I used to have issues with java environment on my machine and some components are missing from coc.nvim.

@chemzqm
Copy link
Member

chemzqm commented Jan 29, 2023

Should be fixed on recent version of coc-java, try upgrade coc.nvim to latest release and coc-java to version 1.14.0.

@chemzqm chemzqm closed this as completed Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants