I just started making some LSP extensions for Nova, and they seem to be running and I get issues to pop up in a sidebar, but I don’t get any other features like auto complete, jump to definition, hover over classes/variable. I am not sure if there are things I am missing, in either the Syntax files or do I need Completion files for that? Anyone have advice?
Here’s what the one LSP’s debug shows from initialize:
Received JSON-RPC response: number(0) initialize
{
"jsonrpc" : "2.0",
"result" : {
"capabilities" : {
"signatureHelpProvider" : {
"triggerCharacters" : [
"(",
","
]
},
"hoverProvider" : true,
"implementationProvider" : true,
"codeActionProvider" : {
"codeActionKinds" : [
"quickfix",
"refactor",
"refactor.rewrite",
"source.organizeImports"
]
},
"definitionProvider" : true,
"renameProvider" : true,
"documentHighlightProvider" : false,
"documentSymbolProvider" : true,
"typeDefinitionProvider" : true,
"executeCommandProvider" : {
"commands" : [
"as3mxml.addImport",
"as3mxml.addMXMLNamespace",
"as3mxml.organizeImportsInUri",
"as3mxml.organizeImportsInDirectory",
"as3mxml.quickCompile",
"as3mxml.getActiveProjectURIs"
]
},
"completionProvider" : {
"triggerCharacters" : [
".",
":",
" ",
"<"
]
},
"documentRangeFormattingProvider" : false,
"documentFormattingProvider" : true,
"referencesProvider" : true,
"textDocumentSync" : 2,
"workspaceSymbolProvider" : true,
"workspace" : {
"workspaceFolders" : {
"changeNotifications" : true,
"supported" : true
}
}
}
},
"id" : 0
}