Is there a way to create a context menu item that only appears when the cursor is focus on certain words for a vscode language server extension?
Currently, I am attempting to create a language server for generating and saving an image from a custom language (similar to plantUML). I want to be able to define multiple diagrams in one file, and as such I was wondering if it is possible for a vscode language server extension to make a context menu item appear only when the cursor is focused on the name of the diagram.