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

CallHierarchyService Plugin API #3765

Closed
tsmaeder opened this issue Dec 6, 2018 · 5 comments
Closed

CallHierarchyService Plugin API #3765

tsmaeder opened this issue Dec 6, 2018 · 5 comments
Assignees
Labels
plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility

Comments

@tsmaeder
Copy link
Contributor

tsmaeder commented Dec 6, 2018

Theia has a widget that shows the call hierarchy of a methods. Currently, there is a single implementation for Typescript. In order to convert Typescript support to a plugin, we'll need to add a plugin API for call hierarchy.
IMO, the API should be:

theia.languages.registerCallHierarchyProvider(selector: DocumentSelector, provider: CallHierarchyProvider): Disposable;

CallHierarchyProvider would be based on the interface CallHierarchyService in the callhierarchy pacakge.

@tsmaeder tsmaeder added the languages issue related to languages label Dec 6, 2018
@benoitf
Copy link
Contributor

benoitf commented Dec 6, 2018

some external links as well (to check also what will be vscode API)
microsoft/vscode-languageserver-node#346 (comment)
microsoft/vscode-languageserver-node#420 (comment)

@tolusha tolusha added the plug-in system issues related to the plug-in system label Dec 17, 2018
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 20, 2020
Issue eclipse-theia#3765

Signed-off-by: Thomas MÃder <tmader@redhat.com>
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 20, 2020
Issue eclipse-theia#3765

Signed-off-by: Thomas MÃder <tmader@redhat.com>
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 21, 2020
Issue eclipse-theia#3765

Signed-off-by: Thomas MÃder <tmader@redhat.com>
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 21, 2020
Issue eclipse-theia#3765

Signed-off-by: Thomas MÃder <tmader@redhat.com>
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 21, 2020
Issue eclipse-theia#3765

Signed-off-by: Thomas MÃder <tmader@redhat.com>
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 21, 2020
Issue eclipse-theia#3765

Signed-off-by: Thomas Mäder <tmader@redhat.com>
Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 21, 2020
Issue eclipse-theia#3765

Signed-off-by: Thomas Mäder <tmader@redhat.com>
Signed-off-by: Victor Rubezhny <vrubezhn@redhat.com>
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 21, 2020
Issue eclipse-theia#3765

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
Signed-off-by: Thomas Mäder <tmader@redhat.com>
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 24, 2020
Issue eclipse-theia#3765

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
Signed-off-by: Thomas Mäder <tmader@redhat.com>
tsmaeder pushed a commit to tsmaeder/theia that referenced this issue Jan 28, 2020
Issue eclipse-theia#3765

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
Signed-off-by: Thomas Mäder <tmader@redhat.com>
tsmaeder pushed a commit that referenced this issue Jan 29, 2020
Issue #3765

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
Signed-off-by: Thomas Mäder <tmader@redhat.com>
akosyakov pushed a commit to akosyakov/theia that referenced this issue Feb 24, 2020
Issue eclipse-theia#3765

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
Signed-off-by: Thomas Mäder <tmader@redhat.com>
JesterOrNot pushed a commit to JesterOrNot/theia that referenced this issue Mar 12, 2020
Issue eclipse-theia#3765

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
Signed-off-by: Thomas Mäder <tmader@redhat.com>
@tsmaeder tsmaeder added vscode issues related to VSCode compatibility and removed languages issue related to languages labels May 7, 2021
@JonasHelming
Copy link
Contributor

@tsmaeder : It seems the PRs are closed, can we also cllose this issue?

@tsmaeder
Copy link
Contributor Author

No, we've only implemented the "incoming calls" part ("callers"). We're missing the "outgoing calls" part ("callees"). See https://code.visualstudio.com/api/references/vscode-api#CallHierarchyProvider

@JonasHelming
Copy link
Contributor

@tsmaeder According to the report https://eclipse-theia.github.io/vscode-theia-comparator/status.html
CallHierarchy provider is implemented. Is there something still missing?

@tsmaeder
Copy link
Contributor Author

Methinks @colin-grant-work has added the rest in this PR: https://github.com/eclipse-theia/theia/pull/9681/files. Good to close, afaic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

5 participants