Duplicate hovers with basic-code-intel and lang-typescript
Created by: sqs
Hover prioritys (in the Hover
value's priority
property) are necessary to tell Sourcegraph to hide the basic-code-intel hover when there is a better hover available. Need to update the lang-typescript extension to include this priority
property in its returned hovers.
Fixes the issue seen at https://sourcegraph.com/github.com/Microsoft/node-jsonc-parser@e31983089c88114c7cc17f8c729feb493295c69d/-/blob/src/impl/parser.ts#L26:17 (and anywhere else in TS code where basic-code-intel finds a nonambiguous definition):
HT @felixfbecker