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

Allow extensions to add coloured markers in the gutter similar to source control #44606

Open
DanTup opened this issue Feb 27, 2018 · 4 comments
Labels
api editor-api feature-request Request for new features or functionality
Milestone

Comments

@DanTup
Copy link
Contributor

DanTup commented Feb 27, 2018

The source control functionality currently renders nice coloured markers down the gutter. It'd be nice if this functionality was available to extensions that aren't source control (for example code coverage).

@alexdima alexdima self-assigned this Feb 27, 2018
@alexdima
Copy link
Member

This is something that could be added to the text editor decoration API, specifically as a new property to ThemableDecorationRenderOptions

@alexdima alexdima added feature-request Request for new features or functionality api labels Feb 27, 2018
@alexdima alexdima changed the title Allo extensions to add coloured markers in the gutter similar to source control Allow extensions to add coloured markers in the gutter similar to source control Feb 27, 2018
@alexdima alexdima added this to the Backlog milestone Apr 18, 2018
@alexdima alexdima removed their assignment Apr 18, 2018
@alexdima alexdima added editor-rendering Editor rendering issues and removed editor labels Oct 25, 2019
@eamodio
Copy link
Contributor

eamodio commented Nov 9, 2020

@DanTup I'm assuming here, you are looking for more than just an indicator though right? You'd want them clickable like the SCM gutters?

@DanTup
Copy link
Contributor Author

DanTup commented Nov 9, 2020

The feature I wanted this for was ditched, so this isn't a need for me now. However it was intended for something similar to code coverage. The idea was to mark lines that are hot-reloaded into a running app, and then change the colour as the execute (it was intended to help understand if changes you've made and hot reloaded were not being run).

Clicking probably wouldn't have been necessary (for this, though maybe they'd be useful for others?), though tooltips would've been good (to explain what the two different colours meant).

@Jack2104
Copy link

Jack2104 commented Apr 4, 2021

I have a need for this right now too (with them being clickable). I want the user to be able to mark areas of code and have those marked code segments be timed.

@eamodio or @alexdima - will this ever be added?

@alexdima alexdima added editor-api and removed editor-rendering Editor rendering issues labels Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api editor-api feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants