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

Expose Peek view API #100904

Closed
skdeng opened this issue Jun 24, 2020 · 4 comments
Closed

Expose Peek view API #100904

skdeng opened this issue Jun 24, 2020 · 4 comments
Assignees
Labels
*dev-question VS Code Extension Development Question

Comments

@skdeng
Copy link

skdeng commented Jun 24, 2020

Is it possible to expose the underlying API for Peek views (such as Peek definition, or Peek diff), so that we can create custom pop-up windows with similar style in extensions.
image

@jrieken
Copy link
Member

jrieken commented Jun 24, 2020

You can use these commands: editor.action.peekLocations and editor.action.goToLocations. Find some doc here https://code.visualstudio.com/api/references/commands (showReferences)

@jrieken jrieken added the *dev-question VS Code Extension Development Question label Jun 24, 2020
@skdeng
Copy link
Author

skdeng commented Jun 24, 2020

Sorry I wasn't clear. I meant to have a fully customizable view (e.g. virtual document or webview) but with the dropdown window style similar to Peek

@jrieken
Copy link
Member

jrieken commented Jun 25, 2020

then see this: #3220

@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*dev-question VS Code Extension Development Question
Projects
None yet
Development

No branches or pull requests

3 participants
@jrieken @skdeng and others