Make it easy to start lsp-java for virtual buffers
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.
I want this feature too.