question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Decorations with gutter icons hide breakpoint icons

See original GitHub issue
  • VSCode Version: 1.0.0
  • OS Version: any

Steps to Reproduce:

  1. Create a decoration type window.createTextEditorDecorationType({ gutterIconPath: ... }); with an icon, decorate a line.
  2. Set a breakpoint for the line. While the breakpoint works, the decoration type gutter icon is completely hiding it.

Ideally, there should be a way to see both (all) icons. I’m assuming the same issue happens if two different extensions set different icons for the same line. Atom and IntelliJ platform based IDEs solve this by allowing to create a plugin specific gutter/or just extending the gutter horizontally to fit all icons.

If the above mentioned solution is not desirable for some reason, then it should probably be allowed to set a gutter icon zIndex for a decoration type. Or maybe the breakpoint icon should just take precedence and always be displayed above any extensions icons.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:167
  • Comments:42 (9 by maintainers)

github_iconTop GitHub Comments

21reactions
JackSchaible-Pandellcommented, Mar 17, 2021

+1…5 years now without a fix, c’mon guys

12reactions
ffMathycommented, Nov 30, 2020

4 years. The issue has been here for 4 years. Am I the only one who thinks it’s crazy that this hasn’t been worked on so far? I find it quite critical.

It also works very poorly with Error Gutters: https://marketplace.visualstudio.com/items?itemName=IgorSbitnev.error-gutters

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Decorations with gutter icons hide breakpoint icons -
Decorations with gutter icons hide breakpoint icons ... Steps to Reproduce: 1. Create a decoration type window.createTextEditorDecorationType({ gutterIconPath: ..
Read more >
Gutter Icons | IntelliJ IDEA Documentation - JetBrains
Use the Gutter Icons page in Settings/Preferences to hide or show icons in the gutter. Note that technology-related icons are displayed only if ......
Read more >
Is there a way to disable gutter icons in Visual Studio 2022?
These icons are the "Inheritance Margin" icons. You can disable them by going to Options → Text Editor → C# → Advanced and...
Read more >
Error Lens - Visual Studio Marketplace
When enabled - shows gutter icons (In place of the debug breakpoint icon). gutterIconsFollowCursorOverride, true, When enabled and #errorLens.
Read more >
CodeMirror Gutter Example
As with decorations, gutter markers are represented by lightweight immutable ... you to toggle a 'breakpoint' marker per line by clicking on that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found