java-language-server icon indicating copy to clipboard operation
java-language-server copied to clipboard

Allow project view for bazel projects

Open sohaibiftikhar opened this issue 4 years ago • 5 comments

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.

sohaibiftikhar avatar Jun 08 '20 09:06 sohaibiftikhar

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

georgewfraser avatar Aug 26 '20 05:08 georgewfraser

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.

sohaibiftikhar avatar Aug 26 '20 06:08 sohaibiftikhar

Does https://github.com/georgewfraser/java-language-server/pull/161 solve the same problem in a different way?

georgewfraser avatar Aug 26 '20 19:08 georgewfraser

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.

sohaibiftikhar avatar Aug 26 '20 19:08 sohaibiftikhar

Yeah that's true, it allows you to choose a single subfolder.

georgewfraser avatar Aug 26 '20 19:08 georgewfraser