microsoft / microsoft/language-server-protocol
More SemanticTokenModifiers
Open
@aeschli is already working on this.
Since Nov 11, 2020.
feature-request
semantic tokens
- Dominant language
- TypeScript
- Stars
- 13k
- Forks
- 1k
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 10
Description
I propose to add the following (type based) semantic token modifiers:
- nullable
- unknown-type (or maybe just "any-type")
Nullable would indicate that an expression is nullable.
Unknown-type would indicate that the type inference was not able to infer the type.
For example, in Typescript, any call to an expression of type any yields an unknown type, since the inference-engine has no way to know the target of the call.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.