Open tjx666 opened 2 years ago
The underline range should contains warning-text. like:
warning-text
In order to implements this, you just need to return DefinitionLink but not Location when find definition. You can ref here:
https://github.com/zyrong/vscode-node-modules/commit/b4c6afec31ae3a60934c029d88c86c1761684253#diff-af536053bebc205974ab5adadb522382f458da257d78020c929970af5c1ad8f2R332
@pucelle
Try to do so, but cant get any definitions after changed Location to DefinitionLink, data in DefinitionLink is validated to be correct.
Location
DefinitionLink
The underline range should contains
warning-text
. like:In order to implements this, you just need to return DefinitionLink but not Location when find definition. You can ref here:
https://github.com/zyrong/vscode-node-modules/commit/b4c6afec31ae3a60934c029d88c86c1761684253#diff-af536053bebc205974ab5adadb522382f458da257d78020c929970af5c1ad8f2R332
@pucelle