Does NPP have any plans to support Microsoft's Language service protocol?
-
Does NPP have any plans to support Microsoft’s Opensource Language service protocol?
-
may I ask you what exactly you are asking for?
I assume you meaning Microsoft Language Server Protocol, if this is the case,
the protocol, as far as I understand, uses json-rpc, so highlighting is already supported
by using json lexer.Cheers
Claudia -
@Claudia Frank:
Microsoft Language Server Protocol can auto complete, goto definition, find all references, syntax analysis, refactoring code -
and syntax checking, error reporting, code validation etc.
-
there is a misunderstanding here, the protocol just defines how the communication
with a languages server has to be. The Language server then does all of the checking
and report back using the protocol. The main goal is that the IDE hasn’t to know anything
about the language used instead each used programming language has to offer a server
component which does all that stuff.Cheers
Claudia -
Can NPP be able to use the various Language Server on Vscode by supporting Language Server Protocol?
-
out of the box, no.
But you could use a scripting plugin, like python or lua, to do the communication with the server
and act accordingly on the server response.Caveat, I never used VS language server so I don’t know if it will accept requests from
a source different than VSCode.Cheers
Claudia -
@Claudia-Frank Thanks.