Definition Completion is not invoked for non-word tokens (like ++ operators) when ctrl-hovering #202024
Labels
editor-symbols
definitions, declarations, references
feature-request
Request for new features or functionality
Milestone
See microsoft/vscode-languageserver-node#1383 .
In language server onDefinition() is not called. According to the above issue this is because VS-Code does only call definition completion on word tokens. I would like though to also show definition completion for operators like "++" and so forth.
Would it be possible to add somehow the support to call onDefinition also on non-operators?
It would be fine enough if there is added a new language server property which allows to declare a list of tokens that should trigger definition completion although they are not text tokens. Maybe something like:
additionalDefinitionTokens = ['++', '--', '+', ... ]
The text was updated successfully, but these errors were encountered: