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 Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #1

    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 OriginalGriffO M D L 21 Replies 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
      realJSOP
      wrote on last edited by
      #2

      Your question is unclear. You mean inside <pre> tags, or in the VS editor? I don't do any of those languages, but my syntax coloring is configured the same way for all languages. In VS - Syntax coloring in VS2010 is hopelessly screwed up, and Microsoft has no interest in fixing it (they told me so). I use the following: white editor background silver back/black fore on comments. cyan back/black fore on numbers blue on keywords magenta on operators The rest I leave pretty much alone because the syntax highlighting is hosed up (thank you WPF). In CP <pre> - I like it the way it is, even though it doesn't match what I use in my editor.

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

      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

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        I use the VS defualt, because I never got round to changing it. So now I set up my other editors the same way... :doh:

        Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        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

          M Offline
          M Offline
          Maximilien
          wrote on last edited by
          #4

          (for c++) I use the default VS2008 settings with some tweaks from Visual Assists. Once upon a time, I used to use a lot of fancy settings (colors and styles), but I found that it made it impossible to work and a PITA if i had to go work on someone else's computer. So now, plain and simple.

          Watched code never compiles.

          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 Mos
            wrote on last edited by
            #5

            Default ones. Too complicated to create a decent theme and if I work on a different computer then I'm familiar(granted that computer has the default settings). But it's easy to change to default it's hard to customize.

            All the best, Dan

            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
              leppie
              wrote on last edited by
              #6

              VS default, but Numbers are red and preprocessor is navy.

              ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

              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
                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
                                          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