Skip to content

A vscode extension to help with finding the right path to use with the #import expression in graphql files.

License

Notifications You must be signed in to change notification settings

lalunamel/vscode-graphql-import

Repository files navigation

VSCode GraphQL Import

A VSCode extension to improve the experience of using the #import directive in GraphQL files.

extension demo

Bugs or Suggestions

If you find a bug or have a suggestion, please create a github issue with the following:

  • Steps to reproduce the behavior
  • Expected behavior
  • Actual behavior

If I don't respond within a few days, please ping me directly!

TODO

  • Provide completions for graphql imports based on the filesystem as you are typing
  • Start suggesting files as soon as the initial quote is read - do not require a ./ to start
  • Provide red squiggles if you've messed up an import declaration (e.g. you put a space between the hash and import, or are using single quotes when you should use double)
  • Provide red squiggles if the file you're importing can't be found
  • Provide the ability to toggle the types of quotes allowed: single, double, or both

About

A vscode extension to help with finding the right path to use with the #import expression in graphql files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published