lsp-java icon indicating copy to clipboard operation
lsp-java copied to clipboard

Make it easy to start lsp-java for virtual buffers

Open iocanel opened this issue 5 years ago • 1 comments

Not sure if virtual buffers is the proper term, but I would like to be able to use lsp-java in full for buffers that are not visiting actual project files.

I've been playing around with polymode in order to combine term-mode with java-mode so that I can run jshell with java syntax highlighting completion etc. This kind of works as in java-mode is properly detected etc, but I lsp is not working correctly. More specifically completion does not work at all and syntax highlighting seems weird.

I took a look at how lsp-org works, but I was a bit lost. BTW, completion does not work for me even in lsp-org when using java.

It would be nice if there was an easier way to use lsp-java and / or some kind of documentation explaining the process.

iocanel avatar Jan 06 '21 10:01 iocanel

I want this feature too.

stardiviner avatar Jan 08 '21 00:01 stardiviner