mfussenegger / nvim-jdtls

Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
GNU General Public License v3.0
979 stars 62 forks source link

very slow on large project comparing to intellij #669

Closed yimingwangdell closed 2 weeks ago

yimingwangdell commented 2 weeks ago

LSP client configuration

coc-java

Eclipse.jdt.ls version

No response

Steps to Reproduce

completion on large project has millions of lines.

Expected Result

less than 10s

Actual Result

need to wait more than 20s for first completion.

yimingwangdell commented 2 weeks ago

report to jdtls project. https://github.com/eclipse-jdtls/eclipse.jdt.ls/issues/3202

vishal423 commented 2 weeks ago

strange.. In my case, it was one of main pain point to move away from IntelliJ 😄

yimingwangdell commented 2 weeks ago

@vishal423 my project is very large. there are some big .java files generated by protobuf, which have more that 200000 lines and some single java files more than 10000 lines is referencing classes from that protobuf java file.