Open marcglasberg opened 1 month ago
Related to https://github.com/microsoft/vscode/issues/5455 (OnClick event on Gutter) but that issue was closed without a solution. Also related to https://github.com/microsoft/vscode/issues/179725 (Support multiple decorations in editor glyph margin).
@joyceerhl please, can I set a zIndex for my decorations, or this is not exposed to the extensions API? https://github.com/microsoft/vscode/pull/179910
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.