Hover service on keywords (language server) [message #1859972] |
Fri, 07 July 2023 12:44 |
Cyril Vrousos Messages: 5 Registered: June 2023 |
Junior Member |
|
|
Hi,
I'm developing a VS Code extension for my DSL developed with Xtext.
I am currently working on Hover Services for my language server.
Do you know if it is possible to add content when hovering over the keywords to add a short description?
For example in xtext-languageserver-example, when we hover over the keyword "Hello", we would have a description that is displayed.
I tried to make a CustomHoverServices which extends from HoverServices, overriding the getContents method and filtering the elements by Keyword but it didn't work.
Do you have an idea ?
Thank you.
[Updated on: Fri, 07 July 2023 12:48] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04991 seconds