Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GraphQL #importNew to Visual Studio Code? Get it now.
GraphQL #import

GraphQL #import

lalunamel

|
102 installs
| (1) | Free
A vscode extension to help with finding the right path to use with the #import expression in graphql files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  • [x] Provide completions for graphql imports based on the filesystem as you are typing
  • [x] 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
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft