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. Build errors - why are they not highlighted in the source ?

Build errors - why are they not highlighted in the source ?

Scheduled Pinned Locked Moved Visual Studio
visual-studiocsharpdelphihelpquestion
4 Posts 2 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.
  • J Offline
    J Offline
    Jan Holst Jensen2
    wrote on last edited by
    #1

    I am completely puzzled by Visual Studio's handling of build errors. Other IDEs that I work with, e.g. Delphi or Code::Blocks, change the focus to the text editor and highlight the source code line of the first occurring error once the build aborts. VS does not - focus is left in the build window where you can see that a build error occurred. You then have to navigate to one of the errors and double-click it to see where it is. I thought it was just VS 2005 but VS 2010 shows the same behavior (just installed 2010 RC and tried it today). I have looked and looked - is there any way of switching this to a more normal behavior ? I mean - you can double-click errors in the build log and the error will be highlighted in the source, so it almost feels like VS deliberately refuses to do it automatically for you :confused:. Cheers -- Jan Holst Jensen

    A 1 Reply Last reply
    0
    • J Jan Holst Jensen2

      I am completely puzzled by Visual Studio's handling of build errors. Other IDEs that I work with, e.g. Delphi or Code::Blocks, change the focus to the text editor and highlight the source code line of the first occurring error once the build aborts. VS does not - focus is left in the build window where you can see that a build error occurred. You then have to navigate to one of the errors and double-click it to see where it is. I thought it was just VS 2005 but VS 2010 shows the same behavior (just installed 2010 RC and tried it today). I have looked and looked - is there any way of switching this to a more normal behavior ? I mean - you can double-click errors in the build log and the error will be highlighted in the source, so it almost feels like VS deliberately refuses to do it automatically for you :confused:. Cheers -- Jan Holst Jensen

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      You could always post this as a suggestion on MS forums - you never know, it mightly actually get considered for the next release of Visual Studio.

      Me, I'm dishonest. And a dishonest man you can always trust to be dishonest.
      Honestly. It's the honest ones you want to watch out for...

      J 1 Reply Last reply
      0
      • A Abhinav S

        You could always post this as a suggestion on MS forums - you never know, it mightly actually get considered for the next release of Visual Studio.

        Me, I'm dishonest. And a dishonest man you can always trust to be dishonest.
        Honestly. It's the honest ones you want to watch out for...

        J Offline
        J Offline
        Jan Holst Jensen2
        wrote on last edited by
        #3

        Yeah. But given that it's been this way for 5 years+ I wonder about the chances of it getting through :doh: . If I am the only one being annoyed by this, I'll just live with it. I mean, Notepad++ with a command-line compile gives almost the same interactivity, so I just use that instead... ;P

        A 1 Reply Last reply
        0
        • J Jan Holst Jensen2

          Yeah. But given that it's been this way for 5 years+ I wonder about the chances of it getting through :doh: . If I am the only one being annoyed by this, I'll just live with it. I mean, Notepad++ with a command-line compile gives almost the same interactivity, so I just use that instead... ;P

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4

          Jan Holst Jensen2 wrote:

          Yeah. But given that it's been this way for 5 years+ I wonder about the chances of it getting through

          Excellent point, I must say....but then perhaps they just did not know about it :doh:.... :)

          Me, I'm dishonest. And a dishonest man you can always trust to be dishonest.
          Honestly. It's the honest ones you want to watch out for...

          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