Live data from Hacker News

Turning off syntax highlighting

dudzik.co

1–10 of 192 posts

Re: Turning off syntax highlighting

#2
Slightly meta: Turning off the syntax highlighting entirely seems a bit hardcore to me, however, I always read each commit I do via git diff / pull request view, which does not have syntax highlighting (other than red/green for removals/additions), and I always strive to make the diff look good for each commit (which means, doing one thing at a time in each commit, and making sure it reads well).

Unfortunately, not everyone I work with reads their code (yep, they write-commit-push-and-forget!) which sometimes makes code review a not so nice experience.

Please, please, read your diffs before sending code for review.

Re: Turning off syntax highlighting

#4
I found most of syntax highlighting easy distracting. But I couldn't turn it off completely as it felt weird. What I did is I modified theme who's colors I loved the most, so that it highlights less things, so that only some keywords would be highlighted like (break, return, for, if, etc). That way it helped me as screen didn't look to colorful, distracting and it didn't strain my eyes as before, but still providing some necessary information that pops out, to help me see the structure of my code better. But that is just me. I think I am not yet ready to give up syntax highlighting completely, but who knows, maybe one day. I am surely making progress towards that.

Re: Turning off syntax highlighting

#7
No thanks.

The last time I could bare not using syntax highlighting I was still on MS-DOS.

Since Turbo Pascal 7 (released in 1992), syntax highlighting is a must have on my programming environment.

But I understand when we are talking about vim, people prefer an hardcore experience.

Re: Turning off syntax highlighting

#9
It probably goes well with typing on one of these horrible new Macbook keyboards - it makes you think twice before pressing each key, thus making your code even more thought-out and succinct.

As one of those programmers who were long ago forced to use no syntax highlighting (because monitors were monochrome), I say no thanks.

Post reply on HN