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. General Programming
  3. Visual Studio
  4. Color custom class names?

Color custom class names?

Scheduled Pinned Locked Moved Visual Studio
visual-studiocsharpcssgraphicstutorial
4 Posts 3 Posters 5 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.
  • H Offline
    H Offline
    Heschi
    wrote on last edited by
    #1

    I find that the coloring of the built-in types (the ones that count as keywords) helps me follow the flow of code by drawing my eye to declarations, function headers, etc. But as my programs get more complicated (I'm a college student) I end up using straight ints and doubles less and less. I would like to be able to have the IDE automatically collect class names and let me choose a different color to make them. It seems like it shouldn't be too hard for someone who knows what they're doing to hook into IntelliSense, enumerate the classes, and add custom keywords or something to the IDE...but of course I have no idea how to do this. It would be even nicer if it would make a distinction between classes defined in files I've got in my current workspace and classes defined by headers I included. (maybe just by checking whether a header is included with <> or "") Is there a package out there that will do this for me, or can anyone give me some advice more specific than "learn VB and the VS.net object model, then go do it"? -Heschi

    M D 2 Replies Last reply
    0
    • H Heschi

      I find that the coloring of the built-in types (the ones that count as keywords) helps me follow the flow of code by drawing my eye to declarations, function headers, etc. But as my programs get more complicated (I'm a college student) I end up using straight ints and doubles less and less. I would like to be able to have the IDE automatically collect class names and let me choose a different color to make them. It seems like it shouldn't be too hard for someone who knows what they're doing to hook into IntelliSense, enumerate the classes, and add custom keywords or something to the IDE...but of course I have no idea how to do this. It would be even nicer if it would make a distinction between classes defined in files I've got in my current workspace and classes defined by headers I included. (maybe just by checking whether a header is included with <> or "") Is there a package out there that will do this for me, or can anyone give me some advice more specific than "learn VB and the VS.net object model, then go do it"? -Heschi

      M Offline
      M Offline
      Martin Haesemeyer
      wrote on last edited by
      #2

      Visual Assist might be your friend. I'm not using it,though cause I don't wann pay the $79. But from the trial I can say, that it's a great package! Cheers Martin "Situation normal - all fu***d up" Illuminatus!

      H 1 Reply Last reply
      0
      • M Martin Haesemeyer

        Visual Assist might be your friend. I'm not using it,though cause I don't wann pay the $79. But from the trial I can say, that it's a great package! Cheers Martin "Situation normal - all fu***d up" Illuminatus!

        H Offline
        H Offline
        Heschi
        wrote on last edited by
        #3

        Beautiful. But I don't want to pay either... :-/

        1 Reply Last reply
        0
        • H Heschi

          I find that the coloring of the built-in types (the ones that count as keywords) helps me follow the flow of code by drawing my eye to declarations, function headers, etc. But as my programs get more complicated (I'm a college student) I end up using straight ints and doubles less and less. I would like to be able to have the IDE automatically collect class names and let me choose a different color to make them. It seems like it shouldn't be too hard for someone who knows what they're doing to hook into IntelliSense, enumerate the classes, and add custom keywords or something to the IDE...but of course I have no idea how to do this. It would be even nicer if it would make a distinction between classes defined in files I've got in my current workspace and classes defined by headers I included. (maybe just by checking whether a header is included with <> or "") Is there a package out there that will do this for me, or can anyone give me some advice more specific than "learn VB and the VS.net object model, then go do it"? -Heschi

          D Offline
          D Offline
          Derek Smigelski
          wrote on last edited by
          #4

          There is information in MSDN on how to do this. You might try searching usertype.dat Derek Smigelski

          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