Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What syntax colour schemes do you use?

What syntax colour schemes do you use?

Scheduled Pinned Locked Moved The Lounge
c++javaphpperlruby
28 Posts 25 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris Maunder

    Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

    L Offline
    L Offline
    Luc Pattyn
    wrote on last edited by
    #7

    You're bound to get 15 million different answers. I can only suggest you: - either make it fully configurable by the user; - or make it selectable by the user from a few choices you offer. IMO background should be white or light, foreground sufficiently dark when not black. And always with sufficient contrast, no half dark gray on half light gray stuff. And definitely no reverse video; the age of IBM 3270 and the like is over. BTW: the current (lack of) contrast in PRE blocks in alternates-that-need-approval is horrible. :)

    Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

    Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

    H 1 Reply Last reply
    0
    • C Chris Maunder

      Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #8

      i've given up fighting the defaults (especially since i have to reinstall VS08 after every Windows update). so... whatever MS feels is appropriate is what i use. but i know guys who set it up so that it looks just like an old 8-bit PC display: white blocky monospaced font on a bright blue background.

      image processing toolkits | batch image processing

      J 1 Reply Last reply
      0
      • L Luc Pattyn

        You're bound to get 15 million different answers. I can only suggest you: - either make it fully configurable by the user; - or make it selectable by the user from a few choices you offer. IMO background should be white or light, foreground sufficiently dark when not black. And always with sufficient contrast, no half dark gray on half light gray stuff. And definitely no reverse video; the age of IBM 3270 and the like is over. BTW: the current (lack of) contrast in PRE blocks in alternates-that-need-approval is horrible. :)

        Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

        H Offline
        H Offline
        Henry Minute
        wrote on last edited by
        #9

        Luc Pattyn wrote:

        BTW: the current (lack of) contrast in PRE blocks in alternates-that-need-approval is horrible.

        +5

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

        1 Reply Last reply
        0
        • C Chris Maunder

          Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #10

          Light grey on blue or black on white -- Edit and Notepad aren't configurable. (In an IDE I use the default, because it's just not important.)

          L 1 Reply Last reply
          0
          • P PIEBALDconsult

            Light grey on blue or black on white -- Edit and Notepad aren't configurable. (In an IDE I use the default, because it's just not important.)

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #11

            PIEBALDconsult wrote:

            Edit and Notepad aren't configurable.

            Of course they are. All it takes is a set of component video cables[^], and with some permutations and/or disconnects you get about a dozen different color schemes to choose from. :)

            Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

            Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

            P 1 Reply Last reply
            0
            • C Chris Maunder

              Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

              cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

              R Offline
              R Offline
              Rod Kemp
              wrote on last edited by
              #12

              What ever the default is. Seriously if he has that much time to complain about the colour scheme he isn't very busy so maybe his contract needs to be "reviewed" :rolleyes: .

              People are more violently opposed to fur than leather because it's safer to harass rich women than motorcycle gangs

              1 Reply Last reply
              0
              • L Luc Pattyn

                PIEBALDconsult wrote:

                Edit and Notepad aren't configurable.

                Of course they are. All it takes is a set of component video cables[^], and with some permutations and/or disconnects you get about a dozen different color schemes to choose from. :)

                Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

                Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

                P Offline
                P Offline
                PIEBALDconsult
                wrote on last edited by
                #13

                I did that with a VGA cable/adapter.

                1 Reply Last reply
                0
                • C Chris Maunder

                  Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                  R Offline
                  R Offline
                  Ravi Bhavnani
                  wrote on last edited by
                  #14

                  Standard VS color scheme, except for the background which I've made light grey.  Imho, this simple tweak greatly reduces eye fatigue! /ravi

                  My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                  1 Reply Last reply
                  0
                  • C Chris Maunder

                    Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                    S Offline
                    S Offline
                    Steve Wellens
                    wrote on last edited by
                    #15

                    This guy has color schemes that are the easiest on the eyes: http://studiostyl.es/schemes/andy-s-ragnarok-grey[^]

                    Steve Wellens

                    1 Reply Last reply
                    0
                    • C Chris Maunder

                      Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                      D Offline
                      D Offline
                      dan sh
                      wrote on last edited by
                      #16

                      Defaults. Always defaults. I never mess with them.

                      Chris Maunder wrote:

                      what colours for things like keywords and comments make PHP devs feel most at home

                      Black on black so that they do not have to see the sin they are committing. :)

                      "The worst code you'll come across is code you wrote last year.", wizardzz[^]

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                        B Offline
                        B Offline
                        BonshatS
                        wrote on last edited by
                        #17

                        I find a black background easiest on my tired old eyes. I vary the foreground depending on what editor I'm using but it's often brown or cyan. Keywords and operators I usually make yellow, comments white. Unfortunately, there are often a few attributes that are unchangeable and don't work well with a black background. Some products are much better at that than others.

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                          L Offline
                          L Offline
                          LloydA111
                          wrote on last edited by
                          #18

                          I prefer blue for keywords, green for comments, red for strings and integers, all on a white background :)


                          See if you can crack this: b749f6c269a746243debc6488046e33f
                          So far, no one seems to have cracked this!

                          The unofficial awesome history of Code Project's Bob! "People demand freedom of speech to make up for the freedom of thought which they avoid."

                          1 Reply Last reply
                          0
                          • C Chris Maunder

                            Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                            cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                            P Offline
                            P Offline
                            Pete OHanlon
                            wrote on last edited by
                            #19

                            Come on guys. When did colour schemes become important to us? Next thing, you'll be advocating throw pillows and cushions round the office. Let's talk about important things now. Cars, bacon and beer.

                            Forgive your enemies - it messes with their heads

                            My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                            C 1 Reply Last reply
                            0
                            • P Pete OHanlon

                              Come on guys. When did colour schemes become important to us? Next thing, you'll be advocating throw pillows and cushions round the office. Let's talk about important things now. Cars, bacon and beer.

                              Forgive your enemies - it messes with their heads

                              My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                              C Offline
                              C Offline
                              Chris Maunder
                              wrote on last edited by
                              #20

                              Actually the wall paper is what's been giving me a headache. The velvet touch or the paisley?

                              cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                              1 Reply Last reply
                              0
                              • C Chris Maunder

                                Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                                cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                S Offline
                                S Offline
                                SeattleC
                                wrote on last edited by
                                #21

                                My monitor colors are set to high contrast black, with white characters on a black background ('cause I'm freaking blind). The default syntax colorings ALL assume black characters on white background, so they don't work for me. It's a constant low-level pain. At work, I have sometimes asked if colored text we all have to share because there's no programmable default could be set to make sense for my color scheme, and I ALWAYS demand that apps we write make sense when a microsoft-supplied accessible color scheme is selected, 'cause accessible design is goog design. On the other hand, I could hardly care less what colors you use, since I don't have to be you. I don't see why the IT guy is so upset. The reason the colors are configurable is so he can do what he likes and you can do what you like. If the IT guy is complaining about what you like, the problem is probably very different from what colors your syntax are colored.

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                  F Offline
                                  F Offline
                                  faber75
                                  wrote on last edited by
                                  #22

                                  http://studiostyl.es/ Son of obsidian FTW

                                  A 1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                    L Offline
                                    L Offline
                                    Leng Vang
                                    wrote on last edited by
                                    #23

                                    I have this problem with white background. I can read lighter text on dark or black background all day long, but if I focus on light background, my eyes got tired quickly and so my vision becomes blurry. VS2008/VS2010 can export and import theme so I saved my favor theme and import it as needed. I know one's theme is ugly to the next person. We just need to play and find our own eyes/health setting . ;) I configure my colors this way for so long, I memorized all colors setting based on the function(results from old day DOS, text-based). I configured Eclipse, Netbeans and SQL the same basic setting. background: black normal text: lightgray comment: gray/italic charater/string: lime number/float: white binary/hex/memory address: Magenta variable/function: aqua/light cyan type/class name: bold teal symbol/delimitors: yellow language keywork: red pre-processor: green error: red warning: yellow selected: yellow on blue Font: equal space font type.

                                    1 Reply Last reply
                                    0
                                    • C Chris Losinger

                                      i've given up fighting the defaults (especially since i have to reinstall VS08 after every Windows update). so... whatever MS feels is appropriate is what i use. but i know guys who set it up so that it looks just like an old 8-bit PC display: white blocky monospaced font on a bright blue background.

                                      image processing toolkits | batch image processing

                                      J Offline
                                      J Offline
                                      Jason Christian
                                      wrote on last edited by
                                      #24

                                      You can export your settings and then re-import them after the reinstall.

                                      1 Reply Last reply
                                      0
                                      • F faber75

                                        http://studiostyl.es/ Son of obsidian FTW

                                        A Offline
                                        A Offline
                                        Alexander DiMauro
                                        wrote on last edited by
                                        #25

                                        Yes, best place for VS styles. For me, it's Code Anxiety FTW!

                                        1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          Vince, our IT dude, has complained bitterly (well, casually) that the colours we use for PHP don't match what he prefers in his editor. He's using a black background which makes things difficult, but I was hoping for a quick strawpoll of what colours for things like keywords and comments make PHP devs feel most at home. In fact, why not open this up for all languages. Java, Ruby, PERL, Objective C - anything.

                                          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                          S Offline
                                          S Offline
                                          Sterling Camden independent consultant
                                          wrote on last edited by
                                          #26

                                          For PHP, color everything "kludge".

                                          Contains coding, but not narcotic.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups