Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The tendency to dim comments, rather than emphasize them, is an excellent point. It'd be even nice if there were a markdown like syntax, common across all major favors of commenting, that allowed simple emphasis of words.


Agreed. Comment should be emphasized by code highlighters. In contrast, keywords should be deemphasized.


My editor (vim) emphasizes the words 'TODO', 'XXX', and 'FIXME' in comments. I think this is nice behaviour but a more general solution would be better.


_Underscores_ and UPPERCASE is all you need for emphasis.


I, for one, don't want anything WYSIWYG in what I'm trusting as my code editor.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: