Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SchemaDocument go to definition LSP support #4669

Conversation

tobias-tengler
Copy link
Contributor

@tobias-tengler tobias-tengler commented Apr 5, 2024

Adds go to definition support for types and directives within a .graphql file.

@tobias-tengler
Copy link
Contributor Author

tobias-tengler commented May 9, 2024

@captbaritone Thanks for merging the SchemaDocument support :) This is now also ready to be merged.

EDIT: Remember that you need to run the VS Code extension from source when testing. Otherwise the LSP will not be activated for .graphql files. Or alternatively, release a new version of the extension. I've already implemented support and bumped the version in 964e078.

@facebook-github-bot
Copy link
Contributor

@captbaritone has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@captbaritone merged this pull request in 68c7cca.

drewatk pushed a commit to drewatk/relay that referenced this pull request Jul 31, 2024
v17.0.0

* tag 'refs/tags/v17.0.0': (891 commits)
  v17.0.0
  Cut docs version v17.0.0
  bump version of vscode extension for release
  Update Algolia app & key (facebook#4715)
  Validate edgeTypeName argument points to an existing type (facebook#4621)
  Parallel watchman queries for saved state and changed files
  Update Cargo.lock (facebook#4714)
  Implement schema generation for weak object fields
  Add code action to rename fragment (facebook#4697)
  Add SchemaDocument go to definition LSP support (facebook#4669)
  Fix Rust error caught by Clippy (facebook#4713)
  Deploy 0.238.0 to xplat
  Tests for interface schema validation
  Attach previous location to duplicate type diagnostic
  Include source location in schema tests
  Refactor to pass Arc<Config> to watchman source instead of &Config
  No need to pass self.config if you have self
  Enforce no duplicate type names
  Make schema validation the default
  Update integration tests to have valid schemas
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants