3 ms·
This largely seems like an issue with the author's IDE or theme, not an issue with syntax highlighting. I immediately assumed the first screenshot was what they
by bastawhiz 7y ago
This largely seems like an issue with the author's IDE or theme, not an issue with syntax highlighting. I immediately assumed the first screenshot was what they were proposing since it's not like the syntax highlighting that I have used in vi, sublime, visual studio, or vscode. The actual proposal, to my eyes, removes highlighting entirely: I can't differentiate the shades well at all, and the "bold" commented text is even less visually distinct than in the original.
Semi-related: do folks actually use very low contrast themes like the one in the screenshot? My vision is better than 20 20 and reading light gray on white (or dark gray on black, for that matter) is a terrible strain on my eyes.
Edit: it appears the author has a dark mode theme on their blog which changes the colors of the screenshots
- Mikeb85 7y agoI personally like relatively low contrast colours on a dark background. High contrast themes put strain on my eyes.
- squeaky-clean 7y agoPyCharm is extremely configurable. I've probably spent a whole day or more setting up my preferred syntax highlighting and keybindings. I think the default highlighting is fine because it's what's best for beginners, highlighting language keywords and such.
- csdvrx 7y agoYes, I use a low contrast theme, light grey on yellow. My vim is Solarized based so I can invert colors at night and get more contrast by collapsing the RGB values into just red using NegativeScreen. My bash is more custom: to be even lower contrast, I don't use colors except for when commands return with an error code. Instead, I use font attributes a lot (bold, italics, faint, etc) and I timestamp my commands so when I check my records I can easily find which parts took me the longest to think and do. The command I am typing has the current directory in bold to quickly remind me as I usually have several terminals opened. Here is what my bash (where I spend the most time in) and vi looks like: https://raw.githubusercontent.com/csdvrx/sixel-tmux/master/sixel-tmux.jpg https://raw.githubusercontent.com/csdvrx/sixel-tmux/master/s... My bash has changed to match vi: the # prompt and red error codes now use the background color with: \e[2;48;2;215;215;175m\]#[\e[0m\]
- Hendrikto 7y agoLooks horrible, but to each their own, I guess.
- amatecha 7y agoInteresting, never heard of NegativeScreen before.. thanks for that! Will have to try this out!
- csdvrx 7y agoTry : Negative Red=win+alt+F9 { -0.3, 0.0, 0.0, 0.0, 0.0 } { -0.6, 0.0, 0.0, 0.0, 0.0 } { -0.1, 0.0, 0.0, 0.0, 0.0 } { 0.0, 0.0, 0.0, 1.0, 0.0 } { 1.0, 0.0, 0.0, 0.0, 1.0 } Example on: https://raw.githubusercontent.com/csdvrx/sixel-tmux/master/sixel-tmux-night.jpg https://raw.githubusercontent.com/csdvrx/sixel-tmux/master/s...