Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Allow custom pattern instead of just gql #294

@aspirisen

Description

@aspirisen

Actual Behavior

The autocomplete feature is tight to gql or graphql tags.
It would be good to have some complex patterns like start with gql(' and with ') so you can create custom logic, but have autocomplete.

Also, it would be good to allow autocomplete even in TS types, i.e. start with Query<' and with '>.
The syntax highlight works with #graphql comment even in types, but unfortunately it doesn't provide autocomplete.

Expected Behavior

Allow specifying custom patterns for matching

Specifications

  • GraphQL for VSCode Extension Version: 0.3.15
  • VSCode Version: 1.55.1
  • OS Name: MacOS
  • OS Version: 10.15.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions