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

OnClick and hover events on gutter icons #224134

Open
marcglasberg opened this issue Jul 28, 2024 · 2 comments
Open

OnClick and hover events on gutter icons #224134

marcglasberg opened this issue Jul 28, 2024 · 2 comments
Assignees

Comments

@marcglasberg
Copy link

How could I handle OnClick ad hover events on gutter icons, similar to how breakpoints does?

The intention was to connect it with a decorator (previously created with vscode.window.createTextEditorDecorationType) so the user should click or hover on the gutter and create/destroy the decorator assigned to the line where the user clicked.

@marcglasberg
Copy link
Author

marcglasberg commented Jul 28, 2024

Related to #5455 (OnClick event on Gutter) but that issue was closed without a solution. Also related to #179725 (Support multiple decorations in editor glyph margin).

@marcglasberg
Copy link
Author

@joyceerhl please, can I set a zIndex for my decorations, or this is not exposed to the extensions API? #179910

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

No branches or pull requests

4 participants
@lramos15 @marcglasberg @joyceerhl and others