Skip to content

Support for type definition #267

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

Closed
amiralies opened this issue Jun 6, 2021 · 2 comments · Fixed by #271
Closed

Support for type definition #267

amiralies opened this issue Jun 6, 2021 · 2 comments · Fixed by #271
Labels
enhancement New feature or request

Comments

@amiralies
Copy link
Contributor

it's like go to definition but for goes to type definition.
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_typeDefinition

recording.mp4

This is an example from vim with ocaml.

@cristianoc cristianoc added the enhancement New feature or request label Jun 7, 2021
@cristianoc
Copy link
Collaborator

How is it triggered?

@amiralies
Copy link
Contributor Author

Right click > Go to type definition
I think vs code doesn't have default hotkey for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants