zth/vscode-graphiql-explorer

Option to autocomplete instead of opening window

austincondiff opened this issue · 1 comments

If you have your cursor inside a query and you hit return to add a new line, an auto-complete could appear with the remaining properties of the query you had specified.

for example...

query SomeQuery {
    |
}

created
createdFromGroupInv
id click
name
rowId
loggedInUserIsAdmin

query SomeQuery {
    id
    |
}

created
createdFromGroupInv
name
rowId
loggedInUserIsAdmin click

query SomeQuery {
    id
    loggedInUserIsAdmin
    |
}

created
createdFromGroupInv
name click
rowId

query SomeQuery {
    id
    loggedInUserIsAdmin
    name
    |
}

created
createdFromGroupInv
rowId click

query SomeQuery {
    id
    loggedInUserIsAdmin
    name
    rowId
    |
}

created
createdFromGroupInv

This would make more sense, at least to me.

zth commented

Hi! So this is actually another type of functionality entirely, which is already supported by VSCode extensions like https://github.com/prisma-labs/vscode-graphql. This particular extension only deals with GraphiQL specifically.