Package org.graalvm.tools.api.lsp
Interface LSPServerAccessor
public interface LSPServerAccessor
Provides access to the GraalLS from within
LSPExtension
s.-
Method Summary
Modifier and TypeMethodDescriptionGet a map of fileURIs to languageIds for all files currently open in the LSP client.com.oracle.truffle.api.source.Source
Get theSource
for a givenURI
.void
sendCustomNotification
(String method, Object params) Instruct the GraalLS to send a custom notification to the LSP client.
-
Method Details
-
getOpenFileURI2LangId
Get a map of fileURIs to languageIds for all files currently open in the LSP client. -
sendCustomNotification
Instruct the GraalLS to send a custom notification to the LSP client. -
getSource
-