java-language-server
java-language-server copied to clipboard
Allow project view for bazel projects
Sometimes we don't need analysis against the entire project but parts of the project are enough. In that case, using a reduced target is more efficient.
I'm a little worried about incorporated something that's fundamentally an intellij feature, not a bazel feature. https://ij.bazel.build/docs/project-views.html
I actually added this to my setup when I was setting up code for Bazel (https://bazel.build/basics/getting_started.html) to reduce the load on the lang server (I use vim as an editor). So it does indeed originate from Intellij. But I feel its completely portable to any other editor/lang-server setup. It works for me quite well. But you can go ahead and close this.
Does https://github.com/georgewfraser/java-language-server/pull/161 solve the same problem in a different way?
In some ways I suppose. From what I read it still doesn't solve it if I have three subfolders and want two of them included.
Yeah that's true, it allows you to choose a single subfolder.