Closed laughedelic closed 6 years ago
This launches the ENSIME server, but I don't see anything working in the editor. It loads the processor, I see requests sent and log messages, but don't get any responses.. ☹️
I switched to the official ENSIME LSP server, it got recently merged in the 3.0
branch of the ensime-server: https://github.com/ensime/ensime-server/pull/1888 and is a replacement for the dragos' server implementation.
Here's what I got so far:
textDocument/documentSymbol
shows some symbols, but the hierarchy is brokentextDocument/definition
works quite well and even jumps to the stuff from the project depstextDocument/hover
works, but has some glitches (like empty tooltips of showing nonsense when hovering on comments)textDocument/completion
seems to work ✨ but breaks once the code doesn't compile and doesn't restore if you fix it
all of them have problems that have to be fixed in the server, but it's not critical nowPresentation compiler crashed while type checking this file
, but this is probably due to that I didn't set the classpath properly..I'm going to merge this as a first step towards ENSIME server support. ENSIME LSP is in improvement process: https://github.com/ensime/ensime-server/pull/1894.
Next step will be #13.
See https://github.com/laughedelic/atom-ide-scala/issues/1#issuecomment-343320728.