Closed MarkZ3 closed 7 years ago
re: semantic coloring There is no server nor client speaking such an extension, so there is no point in implementing it atm. But Anton put everything in place in order to enable arbitrary extensions.
re: signature information It usually pops up when you type the opening bracket in a method call.
https://code.visualstudio.com/docs/extensionAPI/language-support#_help-with-function-and-method-signatures - Method Signatures in VS code
https://code.visualstudio.com/docs/extensionAPI/language-support#_help-with-function-and-method-signatures - Method Signatures in VS code
Nice! I didn't know about that page, it's quite useful! Thanks!
It usually pops up when you type the opening bracket in a method call.
It doesn't seem to work with the Java server, I don't see the request from the client either (perhaps the server doesn't have the capability??). Does it work for you? For example:
public static void main(String[] args) {
main // <--- type the opening parenthesis here
}
It is not implemented: https://github.com/eclipse/eclipse.jdt.ls/blob/f58ad76f7f258926a3579dd6c6ea4eb008d44d88/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/JDTLanguageServer.java#L220
The list of features supported by jdt.ls: https://github.com/eclipse/eclipse.jdt.ls#features
But the python LS has it and it works in Theia.
But the python LS has it and it works in Theia.
Perfect, I'll try that!
Yup, it's working with "pyls", thanks!
Go To Declaration: Doesn't seem to select the full range correctly, the cursor is placed at the beginning of the range. Is this a Monaco bug/by-design-behavior?
It's by design behavior.
I've filed an issue for bogus hover ranges: https://github.com/Microsoft/vscode/issues/26747
The outstanding bug has been fixed by the vs code team.
@svenefftinge Do you know if the "quick fixes" work now? I haven't had the chance to test them.
Yes, I added that while working on yangster. https://github.com/theia-ide/theia/pull/327
Thanks!
I have looked a bit at the LSP/Monaco integration. Here are my observations so far. I tested with the Java and C/C++ servers.