graphql / graphql/graphiql

Suggestion: Filter intellisense for query if already selected

Open
#2,236 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

## Actual Behavior
![image](https://user-images.githubusercontent.com/49362473/153899682-1bec22c8-647c-4739-be02-2dcfca8a5222.png)

## Expected Behavior
![image](https://user-images.githubusercontent.com/49362473/153900176-41687464-9d83-443f-a120-5f0f0fdc74bc.png)

If a field has already been selected in the current query/mutation, filter out the suggestion from intellisense.
Also an option to fill in the rest of the fields (i.e. select all available return fields not yet selected) or select multiple at a time would be helpful.

## Specifications

- GraphQL for VSCode Extension Version: v0.3.41
- VSCode Version: 1.64.2
- OS Name: Microsoft Windows 11
- OS Version: 21H2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.