todor icon indicating copy to clipboard operation
todor copied to clipboard

Assign colours to categories

Open earcanal opened this issue 4 years ago • 8 comments

As a user, I'd like to assign colours to categories so I can easily see BUG, FIXME, TECHDEBT, BOOKMARK etc.

earcanal avatar May 13 '20 11:05 earcanal

Hi @earcanal thanks for the ideas (this and #33 ) definately things to consider...

dokato avatar May 13 '20 14:05 dokato

@earcanal did you see any other addin that creates coloured markers? I'm wondering if this is even possible.

dokato avatar May 13 '20 16:05 dokato

Sorry, that's way beyond my API knowledge! If you could do #33 then maybe there's a way to colour cell values. I thought this might be it

https://gt.rstudio.com/reference/data_color.html

but I don't think that's what's used to present tabular data in RStudio. Maybe there's another way ...

earcanal avatar May 13 '20 16:05 earcanal

hah, here ends mine too, so I passed that question forwards: https://github.com/rstudio/rstudioapi/issues/178, we'll see what they'll reply

dokato avatar May 14 '20 11:05 dokato

This feature would be very useful indeed, I'm looking forward to it.

VScode, for example, has a great extension that does that: https://marketplace.visualstudio.com/items?itemName=ExodiusStudios.comment-anchors

@dokato , I have a question, why TODO and FIXME are highlighted in the editor with a blue color, while the other tags (NOTE, BUG, REVIEW, ...) are not?

image

Would it be possible to extend the behavior to all the tags as default? It would be really helpful.

Thank you

GitHunter0 avatar Jan 06 '21 02:01 GitHunter0

@GitHunter0 The highlighting of TODO and FIXME is a feature of RStudio itself and has nothing to do with the addin.

Farbfetzen avatar Jan 06 '21 10:01 Farbfetzen

@BastiHz , that makes total sense. But then maybe looking at RStudio's code might help to solve this request

GitHunter0 avatar Jan 06 '21 12:01 GitHunter0

Would definitely increase ergonomy of the package, at least in RStudio. One would need to alter the .rstheme I guess like follows: https://github.com/rstudio/rstudio/issues/4673

Patrikios avatar Jul 18 '22 10:07 Patrikios