Best syntax highlighting
Moderator: General Moderators
Best syntax highlighting
Just starting to work with textmate as my code editor for php (and html,css,etc). I can choose from a bunch of themes for the colors but none of theme are really good. I can also make my own theme. Even try to match the color coding used on our forums.
But before doing that I wondered
- what colors do people prefer? Dark on light background? Light on dark background?
- do you have a cool color theme lying around somewhere?
I know, very subjective subject. But still, some combinations are just easier to read etc. So still interesting to know people's opinions. Or am I the only crazy fool thinking about this?
But before doing that I wondered
- what colors do people prefer? Dark on light background? Light on dark background?
- do you have a cool color theme lying around somewhere?
I know, very subjective subject. But still, some combinations are just easier to read etc. So still interesting to know people's opinions. Or am I the only crazy fool thinking about this?
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
I think this is extremely subjective... So i'm not sure how much our opinion is worthing something... Anyway i prefer to use the "torte" colorscheme in vim.
(http://timvw.madoka.be/images/torte.jpg)
(http://timvw.madoka.be/images/torte.jpg)
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
I use the colors from C++ IDE's most noatably Borland IDE:
- Green comments, italicized
- Blue keywords, boldified
- Red strings, normal
- Fuscia numbers (hex/dec), normal
White background
Thats about all I can think of for this subject...even more subjective than coding conventions...depends on your vision I guess...I think it's been determined that a white background is ideal...likley by the same people who study ergonomics of hardware like a mouse or QWERTY keyboards, etc...
Personal choice I guess...who knows
- Green comments, italicized
- Blue keywords, boldified
- Red strings, normal
- Fuscia numbers (hex/dec), normal
White background
Thats about all I can think of for this subject...even more subjective than coding conventions...depends on your vision I guess...I think it's been determined that a white background is ideal...likley by the same people who study ergonomics of hardware like a mouse or QWERTY keyboards, etc...
Personal choice I guess...who knows
Thanks for the feedback guys. I know it's subjective. But even then it's nice to hear what people use and prefer. We don't have to be afraid we start a flame war because I prefer pink and Hockey purple, don't we? 
Even some examples give me some ideas. At the moment I'm thinking about the colors of these forum or of php net. What Hockey says is a variant on these I think. I'll try that one too.
Even some examples give me some ideas. At the moment I'm thinking about the colors of these forum or of php net. What Hockey says is a variant on these I think. I'll try that one too.
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Flame war...naw...not with me anyways...matthijs wrote:Thanks for the feedback guys. I know it's subjective. But even then it's nice to hear what people use and prefer. We don't have to be afraid we start a flame war because I prefer pink and Hockey purple, don't we?
Even some examples give me some ideas. At the moment I'm thinking about the colors of these forum or of php net. What Hockey says is a variant on these I think. I'll try that one too.
p.s-I'm glad you offered to take the pink...
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
i like a light gray background instead of white or black. and comments to either be blue or grey (depending on the BG). i don't like black BG"s for my code because it honestly makes everything seem like 15 yr/old script kiddie and white is too 1990's IBM (i'm saying big business)
toned down colours is what i like
toned down colours is what i like
I prefer black background, but so far i havent found an editor for windows with a dark background. I use notepad2 wich has a black background theme but it comes with some very dark blue colors wich are not so noticeable, so iuse its default scheme. You can have a look on their website.
example of themes i dont like:
-notepad2 deafault
-ultraedit default
BTW, i need to get used to a console editor, i think "vi or emacs" discussion mught not take anywhere as it never did, but i would like to know about the learning curve. Emacs appear to have a bigger learning curve then vi... is it realy like that?
example of themes i dont like:
-notepad2 deafault
-ultraedit default
BTW, i need to get used to a console editor, i think "vi or emacs" discussion mught not take anywhere as it never did, but i would like to know about the learning curve. Emacs appear to have a bigger learning curve then vi... is it realy like that?
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
When I had hair...I shave my head as you can tell...matthijs wrote:Hehe yeah I made sure to do that. I assume you have seen Reservoir Dogs? That scene is classicHockey wrote: Flame war...naw...not with me anyways...
p.s-I'm glad you offered to take the pink...*lol*
I was constantly told I looked, acted and sounded like Quentin Tarrintino...so yes...I'm more than aware of Resevoir dogs...as everyone that met me wanted to watch his movies in my presence...
It was quite annoying after a while...
Doogie Howser was another one I always got *lol*
So I started working out, gained a bit of weight, grew a beard and shaved my head...and now...now one tells me who I look like
My pink...played by Steve Buscheme??? Crazy bugger
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
I dislike italizing, bolding or any other emphasis. Coloring is all I need, but do not require unless it's "find my bug." I can't stand having my text misaligned by font mark changes. So yes, fixed width is a must too.
Yes, this is quite personal preferencing. I can deal with variantions of color as long as they are distinctive enough.
Yes, this is quite personal preferencing. I can deal with variantions of color as long as they are distinctive enough.
I prefer black background and bright coloured text, such as orange, bright green, cyan, light purple, and pale yellow.
Another thing i change is the font, my favourite font for programming in windows is Pixel Carnage, it is a wide mono font, with clear distinction betweel 1, l, o,0, etc.
http://www.proggyfonts.com/index.php?menu=download
Fonts makes a big difference I think.
Another thing i change is the font, my favourite font for programming in windows is Pixel Carnage, it is a wide mono font, with clear distinction betweel 1, l, o,0, etc.
http://www.proggyfonts.com/index.php?menu=download
Fonts makes a big difference I think.
hey every one, just to tell everybody that by now i am satisfied with syntax highlight on nano.
I wont get into emacs or vi so soon.
if anybody wants to add syntax highlight on nano it takes 1 minute to set up... ok 2 maybe
check this out.
http://wiki.linuxhelp.net/index.php/Nan ... ghlighting
i like the default theme... a bit diferent than the usual... it has some top level regex... like... some higlighting into strings... personaly i dont think is so bad, becaus some strings are paths, sql queries, urls... so i think its kind of cool to have syntax highlingt within the strings as well...
well... check it out. now i can code directly from the console with the confort of syntax highlight.
I wont get into emacs or vi so soon.
if anybody wants to add syntax highlight on nano it takes 1 minute to set up... ok 2 maybe
check this out.
http://wiki.linuxhelp.net/index.php/Nan ... ghlighting
i like the default theme... a bit diferent than the usual... it has some top level regex... like... some higlighting into strings... personaly i dont think is so bad, becaus some strings are paths, sql queries, urls... so i think its kind of cool to have syntax highlingt within the strings as well...
well... check it out. now i can code directly from the console with the confort of syntax highlight.