* no absolute positioning, scrolltop compute based on sticky lines.
* remove z-index var
* compute re-write, remove init, reduce pop-in
* dispose delayer
* remove debounce
* edge case for cell 0 header, next animation frame instead of debounce
* add delayer back, further improve pop in
* remove unused param, update testing snapshots
* fix: add linux library dependency check for remote server
* chore: add faq link
* chore: move to separate file for reuse
* chore: add option to skip check
* fix: check
* fix: package path
* fix: don't forget to exit main script
* testing: finish up coverage decorations
- Adds an inline decorator for empty-range branches
- Adds hover information for inline coverage hovers
- Fixes the editor not handling decorations that get after/before
content in `updateDecorationOptions`
- Adds an option `label` for branches
- A bunch of other misc tweaks to get coverage looking nice
- Keep decorations in sync if a user makes changes in editor
* update tests
This is the first pass at decorations in-editor. This PR doesn't
actually register the contribution, as it's not ready for selfhosting
yet. This PR creates decorations that look like this. The idea is that
coverage decorations in the glyph margin will always be visibile when
there's coverage, and users can get coverage in their code via hover or
shortcut, with the intention of making coverage unobtrusive and easy to
run all the time.
![](https://memes.peet.io/img/24-01-8e61f4db-f115-4732-affe-59dea879a335.png)
The notable thing is that there is now a third glyph margin row. I
reworked some of the editor code to handle this.
![](https://memes.peet.io/img/24-01-f400369f-650c-4303-be65-e65903f8ad17.png)
Some open questions:
- The glyph margin coverage wants doesn't need to be full-width, should
we add a new 'leftmost' glyph lane instead that's thinner?
- Adding breakpoints in files with coverage is a little annoying since
the breakpoint hint widget can expand the glyph margin on lines with
coverage, and jump back over otherwise. Probably we should never
decrease the number of lanes shown whenever the cursor is over the
glyph margin.
![](https://memes.peet.io/img/24-01-79b53dd9-6fca-41dd-87b5-a113f9c25efb.gif)
This continues on the coverage API I started a few years ago. It adds
initial integration where a "Show Test Coverage" tree item is shown in
the Test Results view, which then opens a dedicated Test Coverage view.
The Test Coverage view is a fairly basic tree view following the draft
design, with further improvements to come.
The 'bars' widget is also built in a reusable way such that it can be
integrated into the explorer, as this was a popular ask both inside and
outside the team.
For #123713.