Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce proper vscode completion kinds #1488

Merged
merged 2 commits into from
Apr 12, 2020

Conversation

acao
Copy link
Member

@acao acao commented Apr 12, 2020

this re-uses vscode's own CompletionItemKind to introduce completion kinds at the LSP interface level. these will make different icons appear for different types on completion. currently kind values are not returned, so it's up to the user to specify them.

also, introduce a const for RuleKinds lookup that will be used by monaco. using these, monaco has slightly different kinds that we will configure in a simple lookup object in a later PR

this re-uses vscode's own CompletionItemKind to introduce completion
kinds at the LSP interface level.  these will make different icons
appear for different types on completion.

then, monaco has slightly different kinds that we will map to from
these in a later PR
@acao acao force-pushed the feat/completion-item-kinds branch from e964b0b to 93b215d Compare April 12, 2020 18:29
@acao acao force-pushed the feat/completion-item-kinds branch from 93b215d to 5000900 Compare April 12, 2020 18:39
@acao acao merged commit f19aa0d into graphql:master Apr 12, 2020
@acao acao deleted the feat/completion-item-kinds branch April 12, 2020 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant