Repository navigation
Add Type Definition Provider API - #19699
Conversation
|
Matt Bierner (@mjbvz), thanks for your PR! By analyzing the history of the files in this pull request, we identified Johannes Rieken (@jrieken) and alexandrudima to be potential reviewers. |
There was a problem hiding this comment.
restore previous coding style
There was a problem hiding this comment.
Like the other language features this needs a section the doc (editing evolved) such that people has a clear understanding of what this is
There was a problem hiding this comment.
Here's the PR: microsoft/vscode-docs#823
There was a problem hiding this comment.
The order collides with the one above with means lex sort is applied which means order changes from language to language
There was a problem hiding this comment.
In general we need to revisit the context menu because now it becomes more and more loaded. We will now have
- Find References
- Go to Definition
- Peek Definition
- Go to Implementation
- Peek Implementation
- Go to Type Definition
- Peek Type Definition
which I think is a little messy already
There was a problem hiding this comment.
Agreed.I think we should remove peek implementation and peek type definition from the menu.
Adds a new API to support type definition providers and adds an initial type definition provider for TypeScript
7959132 to
16484f8
Compare
|
Matt Bierner (@mjbvz) We should maybe revisit this or think more about this. I wonder if it would make more sense to not have a separate provider here but to make this an option the existing |
|
Johannes Rieken (@jrieken) I'd be fine with that. The only arguments I see in having a separate
Let me know if you think we refactor the api this way or if you have any alternate design proposals. |
Fixes #10489
Adds a new vscode API to support type definition providers and adds an type definition provider for TypeScript