r/ProgrammerTIL • u/YouLotWhatDontStop • Nov 22 '20
Other TIL that if you prepend comment with ToDo in VSC, it changes the color
60
Upvotes
r/ProgrammerTIL • u/YouLotWhatDontStop • Nov 22 '20
69
u/Mentalpopcorn Nov 22 '20
Yes you can also list your todos so that you can pretend that one day you'll go back and fix them
6
u/sfRoyal Nov 22 '20
It's also listed in your tasks list, which is great. Even funnier, the same thing happens if you prepend your comments with "hack"
8
u/connormcwood Nov 22 '20
Pretty sure with vs code it is // TODO: action
3
u/Song0 Nov 22 '20
Doesn't seem to do this for me, unless I'm just missing something obvious
1
u/BoxInTheJack123 Nov 22 '20
Very cool! You can probably change the color with a custom theme
1
u/Pit_27 Nov 22 '20
Look up Better Todo extension
1
u/Empole Nov 22 '20
This isn't true in general
It depends on the programming language
1
u/[deleted] Nov 22 '20
I don't use vscode, but also try XXX, FIXME, and NOTE, those change in some editors too.
0
u/[deleted] Nov 22 '20
[deleted] — view deleted comment