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

Test/review references viewlet API #107585

Closed
2 tasks done
jrieken opened this issue Sep 28, 2020 · 3 comments
Closed
2 tasks done

Test/review references viewlet API #107585

jrieken opened this issue Sep 28, 2020 · 3 comments
Assignees

Comments

@jrieken
Copy link
Member

jrieken commented Sep 28, 2020

Refs: #106929

Complexity: 4

Create Issue


The references viewlet has been reworked and now allows to show arbitrary contents via an extension API.

@dbaeumer
Copy link
Member

@jrieken I am a little bit puzzled. How to I talk to the reference viewlet. The API list only interfaces. So how I get to the instance ?

@jrieken
Copy link
Member Author

jrieken commented Sep 29, 2020

Like so

const api = await vscode.extensions.getExtension<Api>('ms-vscode.references-view')?.activate();

@dbaeumer
Copy link
Member

Thanks!

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

No branches or pull requests

3 participants