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

Implement TypeDefinitionProvider #50

Open
olafurpg opened this issue Jul 9, 2017 · 0 comments
Open

Implement TypeDefinitionProvider #50

olafurpg opened this issue Jul 9, 2017 · 0 comments

Comments

@olafurpg
Copy link
Member

olafurpg commented Jul 9, 2017

Monaco 0.9.0 (merged in #49) added a new TypeDefinitionProvider service
https://microsoft.github.io/monaco-editor/api/interfaces/monaco.languages.typedefinitionprovider.html

It would be nice to implement it in metadoc. The service provides a way to jump to the type definition when hovering over a non-type symbol (e.g., in term or pat position).
Example motivation microsoft/TypeScript#10394

olafurpg@c17d2d9 shows a skeleton of how to implement this service in metadoc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants