ColoredComments
ColoredComments copied to clipboard
Installation Instructions
Hi, how do I get this set up? I installed via Package Manager and expected to run Colored Comments: Generate Color Scheme, but don't have that command available.
I am facing this issue as well. This is all that shows up after installation:

EDIT: Hmm maybe it isn't needed any more? My TODOs seem to be highlighted after a restart.
Sorry. I’m on vacation. I need to push a update to the repo. What you want is to override current color scheme.
-- Zachary Schulze
On Sunday, Jun 20, 2021 at 4:14 AM, Amparose @.*** @.***)> wrote:
I am facing this issue as well. This is all that shows up after installation:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/TheSecEng/ColoredComments/issues/34#issuecomment-864537823), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AHYW2RB4YKS3YSEAO374HVDTTXES5ANCNFSM466DKLMQ).
Sorry. I’m on vacation. I need to push a update to the repo. What you want is to override current color scheme. …
Hello, any movement on this? I'd love to be able to colour my TODOs properly. Seems broken in ST4.
I just tried installing this again fresh in ST4 and there still isn't a Colored Comments: Generate Color Scheme in the command palette as per the initial instructions. It still does weird, unhelpful highlighting.
@TheSecEng any news on this? I'd love to be able to use this with ST4...
The plug-in works. The command you need is Colored Comments: Override Current Color Scheme
we no longer automatically generate the color scheme for you as it can cause issues.
This will open a edit window. I comment the rules you want to use and save
Awesome! That works and looks like I misunderstood your previous response to this.
Hell I tried to setup Colored Comments for about 2 years. It lacks each time in functionality ( only white background no text decoration ) and I got myself frustrated because it could be a really useful thing. .,.. The bad days are over now! Thanks for 4.0.0 and this Thread (#34) Your solution/update for ST4 is really comfortable Thanks
@leveltrauma can you share these settings. I am not able to figure this out. 😅
@leveltrauma can you share these settings. I am not able to figure this out. 😅
uh long time ago @rohit-kumar-j

I see no special settings only personalized but the menu and the way it works in te background has changed. See Colored Options:

I also had issues on install too, when I generated with Colored Comments: Override Current Color Scheme as explained above the comments were not displayed correctly (invisible until highlighted).
I'm using the One Dark type theme called "Theme - One" on ST4 Build 4152.
The generated/overridden/new .sublime-color-scheme file used an rgba value not found in the master theme file for the background of each rule, and the comment color variables used region.* (e.g. var(region.reddish)) but did this not exist either in the main theme file.
Workaround:
I changed the "background" under rules to the same var referenced in the master theme var(--background) and changed the color variable names to match the master also e.g. var(--redish). See my One Dark/Theme One settings below.
Potential solutions: I'm not sure if this is specific to this theme or a Colored Comments generation/install issue.
- Perhaps Colored Comments is not actually generating theme matching colors anymore and only providing some defaults for you to manually edit? If so some install instructions could be updated or just name it "manual color settings" etc.
- If the theme-based auto generation does not work sometimes, perhaps ship with some default colors hard coded rather than vars.
{
// http://www.sublimetext.com/docs/3/color_schemes.html
"variables": {
"important_comment": "var(--redish)",
"deprecated_comment": "var(--purplish)",
"question_comment": "var(--cyanish)",
"todo_comment": "var(--greenish)",
"fixme_comment": "var(--bluish)",
"undefined_comment": "var(--accent)",
},
"globals": {
// "foreground": "var(green)",
},
"rules": [
{
"name": "IMPORTANT COMMENTS",
"scope": "comments.important",
"foreground": "var(important_comment)",
"background": "var(--background)",
},
{
"name": "DEPRECATED COMMENTS",
"scope": "comments.deprecated",
"foreground": "var(deprecated_comment)",
"background": "var(--background)",
},
{
"name": "QUESTION COMMENTS",
"scope": "comments.question",
"foreground": "var(question_comment)",
"background": "var(--background)",
},
{
"name": "TODO COMMENTS",
"scope": "comments.todo",
"foreground": "var(todo_comment)",
"background": "var(--background)",
},
{
"name": "FIXME COMMENTS",
"scope": "comments.fixme",
"foreground": "var(fixme_comment)",
"background": "var(--background)",
},
{
"name": "UNDEFINED COMMENTS",
"scope": "comments.undefined",
"foreground": "var(undefined_comment)",
"background": "var(--background)",
},
],
}