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. VS 2010 driving me insane

VS 2010 driving me insane

Scheduled Pinned Locked Moved The Lounge
visual-studiocsharpc++asp-netarchitecture
69 Posts 29 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.
  • M martin_hughes

    What did you do during the war Grandpa Chris? :)

    Books written by CP members

    C Offline
    C Offline
    Christopher Duncan
    wrote on last edited by
    #20

    Took potshots at smartass young whippersnappers like you, for the most part. :) I'm not opposed to something that does the job better than The Old Way. I was using Borland Turbo C's IDE with glee when MS C coders were fumbling around with a command line compiler, separate debugger, and some clumsy excuse for a Microsoft editor (m, if I recall correctly). But as good as the Borland IDE was for its time, someone showed me Brief and how much faster I could get my job done with it, and I immediately switched my coding habits. Intellisense is nice but Visual SlickEdit (and its competitors, I'm sure) do that, too. What, just because VS has a built in editor, I'm supposed to use it or I'm a Luddite? Even if it's pathetic? What if they threw in some photo editing capabilities - should I sell Photoshop? Man, what Koolaid have you been drinking? And by the way, bubba - you're older than me, if I recall. ;P

    Christopher Duncan
    www.PracticalUSA.com
    Author of The Career Programmer and Unite the Tribes
    Copywriting Services

    M 1 Reply Last reply
    0
    • C Chris Maunder

      The core feature of Visual Studio is the ability to edit source code. That's #1. For me, though, Visual Studio 2010 is continually getting into a state where it no longer allows me to type. Usually I can just switch to another tab, then back again, or I close the file and reopen, and then I can edit again. There's no warning - just suddenly I can no longer type in that window. Sometimes if I switch away, then back, I see all the typing (and banging) that I did appear, meaning lots of Ctrl-Z-ing. However, I've just had a new one: I can no longer edit the second line in my current file. Everything else is fine, but I can't drag and drop, delete, type on it - nothing. Line 1 is great, line3, it welcomes my edits. But not line 2. Today is "Thou Shalt Not Touch Line 2 Day". I have to say that for all this talk of focus on quality in Microsoft products, they were using the wrong glasses. VS 2010 is becoming painful.

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

      E Offline
      E Offline
      El Corazon
      wrote on last edited by
      #21

      Chris Maunder wrote:

      Today is "Thou Shalt Not Touch Line 2 Day".

      how will you do THAT graphic for Bob??

      _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

      C 1 Reply Last reply
      0
      • D Dalek Dave

        I bow to your superiour knowledge.

        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

        R Offline
        R Offline
        realJSOP
        wrote on last edited by
        #22

        I read - a lot. Knowledge is power.

        .45 ACP - because shooting twice is just silly
        -----
        "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
        -----
        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

        P M 2 Replies Last reply
        0
        • R realJSOP

          I read - a lot. Knowledge is power.

          .45 ACP - because shooting twice is just silly
          -----
          "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
          -----
          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

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

          But power corrupts, so obviously reading is corrupting.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          G 1 Reply Last reply
          0
          • C Chris Maunder

            The core feature of Visual Studio is the ability to edit source code. That's #1. For me, though, Visual Studio 2010 is continually getting into a state where it no longer allows me to type. Usually I can just switch to another tab, then back again, or I close the file and reopen, and then I can edit again. There's no warning - just suddenly I can no longer type in that window. Sometimes if I switch away, then back, I see all the typing (and banging) that I did appear, meaning lots of Ctrl-Z-ing. However, I've just had a new one: I can no longer edit the second line in my current file. Everything else is fine, but I can't drag and drop, delete, type on it - nothing. Line 1 is great, line3, it welcomes my edits. But not line 2. Today is "Thou Shalt Not Touch Line 2 Day". I have to say that for all this talk of focus on quality in Microsoft products, they were using the wrong glasses. VS 2010 is becoming painful.

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

            R Offline
            R Offline
            realJSOP
            wrote on last edited by
            #24

            I was about to install that monstrosity. You're giving me pause.

            .45 ACP - because shooting twice is just silly
            -----
            "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
            -----
            "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

            C 1 Reply Last reply
            0
            • C Chris Maunder

              The core feature of Visual Studio is the ability to edit source code. That's #1. For me, though, Visual Studio 2010 is continually getting into a state where it no longer allows me to type. Usually I can just switch to another tab, then back again, or I close the file and reopen, and then I can edit again. There's no warning - just suddenly I can no longer type in that window. Sometimes if I switch away, then back, I see all the typing (and banging) that I did appear, meaning lots of Ctrl-Z-ing. However, I've just had a new one: I can no longer edit the second line in my current file. Everything else is fine, but I can't drag and drop, delete, type on it - nothing. Line 1 is great, line3, it welcomes my edits. But not line 2. Today is "Thou Shalt Not Touch Line 2 Day". I have to say that for all this talk of focus on quality in Microsoft products, they were using the wrong glasses. VS 2010 is becoming painful.

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

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

              I take it CTRL/F5 does not fix it for you? I can only suggest you put a big 5-line comment block on top of every file you create. ;P

              Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


              I only read formatted code with indentation, so please use PRE tags for code snippets.


              I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


              P 1 Reply Last reply
              0
              • C Christopher Duncan

                Took potshots at smartass young whippersnappers like you, for the most part. :) I'm not opposed to something that does the job better than The Old Way. I was using Borland Turbo C's IDE with glee when MS C coders were fumbling around with a command line compiler, separate debugger, and some clumsy excuse for a Microsoft editor (m, if I recall correctly). But as good as the Borland IDE was for its time, someone showed me Brief and how much faster I could get my job done with it, and I immediately switched my coding habits. Intellisense is nice but Visual SlickEdit (and its competitors, I'm sure) do that, too. What, just because VS has a built in editor, I'm supposed to use it or I'm a Luddite? Even if it's pathetic? What if they threw in some photo editing capabilities - should I sell Photoshop? Man, what Koolaid have you been drinking? And by the way, bubba - you're older than me, if I recall. ;P

                Christopher Duncan
                www.PracticalUSA.com
                Author of The Career Programmer and Unite the Tribes
                Copywriting Services

                M Offline
                M Offline
                martin_hughes
                wrote on last edited by
                #26

                Christopher Duncan wrote:

                Man, what Koolaid have you been drinking? And by the way, bubba - you're older than me, if I recall.

                In your dreams, sonny ;)

                Christopher Duncan wrote:

                Intellisense is nice but Visual SlickEdit (and its competitors, I'm sure) do that, too. What, just because VS has a built in editor, I'm supposed to use it or I'm a Luddite? Even if it's pathetic? What if they threw in some photo editing capabilities - should I sell Photoshop?

                Seriously, though, I agree with you on that. You need tools and good tools at that and the best tools available when possible. Although there's a limit. For instance, in various bits and pieces that I do I need to produce nice page layouts. Now I could sink a chunk of money into InDesign - and it's not like I couldn't afford to - but I'd never use an eighth of the features or get passed the learning curve which is why I go for something more accessible. It's almost the same with VS, but slightly in reverse. VS does an extremely good job of masking the complexity of what's really going on at the expense of understanding what's really going on, but by masking that complexity it pretends that there is nothing better. Bring back 6502 machine code, is what I say. I understood computers back then!

                Books written by CP members

                C 1 Reply Last reply
                0
                • L Luc Pattyn

                  I take it CTRL/F5 does not fix it for you? I can only suggest you put a big 5-line comment block on top of every file you create. ;P

                  Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                  I only read formatted code with indentation, so please use PRE tags for code snippets.


                  I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


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

                  /////////////////////////////////////////////////////////////////
                  // Company : Code Project
                  // Author : Chris Maunder
                  // Description : This code autogenerated because of a bug
                  /////////////////////////////////////////////////////////////////

                  "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                  As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                  My blog | My articles | MoXAML PowerToys | Onyx

                  L 1 Reply Last reply
                  0
                  • P Pete OHanlon

                    /////////////////////////////////////////////////////////////////
                    // Company : Code Project
                    // Author : Chris Maunder
                    // Description : This code autogenerated because of a bug
                    /////////////////////////////////////////////////////////////////

                    "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                    As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                    My blog | My articles | MoXAML PowerToys | Onyx

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

                    See? that wasn't hard, was it? Not worth the fuss. Such functionality could easily be added to the CodeProject Visual Studio add-in. :)

                    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                    I only read formatted code with indentation, so please use PRE tags for code snippets.


                    I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                    1 Reply Last reply
                    0
                    • C Chris Maunder

                      It's not a lock-up. Everything works perfectly normally except I could not edit line 2. If the whole file gets locked then I can edit any other file, compile, whatever. Just that file. I then jiggle a mysterious *something* and then it works again. I think it's the WPF

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

                      R Offline
                      R Offline
                      Roger Wright
                      wrote on last edited by
                      #29

                      The last website I worked on, VS2008 would not allow me to see or edit the first line of the default.aspx page. Editing the line in Notepad was my only option, and it resolved a bunch of problems. Is there a copy of EDLIN.Net somewhere around the shop? :rolleyes:

                      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                      C 1 Reply Last reply
                      0
                      • M martin_hughes

                        Christopher Duncan wrote:

                        Man, what Koolaid have you been drinking? And by the way, bubba - you're older than me, if I recall.

                        In your dreams, sonny ;)

                        Christopher Duncan wrote:

                        Intellisense is nice but Visual SlickEdit (and its competitors, I'm sure) do that, too. What, just because VS has a built in editor, I'm supposed to use it or I'm a Luddite? Even if it's pathetic? What if they threw in some photo editing capabilities - should I sell Photoshop?

                        Seriously, though, I agree with you on that. You need tools and good tools at that and the best tools available when possible. Although there's a limit. For instance, in various bits and pieces that I do I need to produce nice page layouts. Now I could sink a chunk of money into InDesign - and it's not like I couldn't afford to - but I'd never use an eighth of the features or get passed the learning curve which is why I go for something more accessible. It's almost the same with VS, but slightly in reverse. VS does an extremely good job of masking the complexity of what's really going on at the expense of understanding what's really going on, but by masking that complexity it pretends that there is nothing better. Bring back 6502 machine code, is what I say. I understood computers back then!

                        Books written by CP members

                        C Offline
                        C Offline
                        Christopher Duncan
                        wrote on last edited by
                        #30

                        martin_hughes wrote:

                        In your dreams, sonny

                        martin_hughes wrote:

                        Bring back 6502 machine code, is what I say. I understood computers back then!

                        "Warning. Error. Error. Vjer cannot compute. Error. Error... Must iron hands..." Nice try masking the age there, old guy. :) As for masking the complexity, I really grappled with that one recently. It turned out that the cheapest deal to get Photoshop CS4 was their Web Design Suite, which included Dreamweaver, Flash, et al. I happen to be in need of a new site, and I'd really just like to get it done. Dreamweaver, like FrontPage, Expression in a Blender, etc. is designed to make it easy for any monkey who can wiggle a mouse to kick out good looking stuff. Okay, sold so far. I just want the site up. But wait, there's a catch. I also have to fetch data from Sql Server, process forms, and do a number of other things in C# behind the scenes. Crap. Now I suddenly care what's under the hood again. Thus hiding the complexity no longer serves me well. Even if Adobe and MS technologies played nicely together 100% (a pipe dream, of course), when I do need to look behind the curtain the generated code is going to be unreadable, poorly formatted crap. That's true of Dreamweaver, VS or anything else. Seems there are really only two ways that things are done well. Visually design your stuff, and I mean stay 100% in the wysiwyg tools (Chris, how dare you edit VS's code, even if it's just line 2???), or fuggedabout the designers, code it yourself, and have maintainable code. If you take the latter path, I strongly suggest that you don't try to cut steak with a butter knife. Get a real editor. As for what I did in the war, well... you know this was the kind of thing that the wars were fought over, right? :)

                        Christopher Duncan
                        www.PracticalUSA.com
                        Author of The Career Programmer and Unite the Tribes
                        Copywriting Services

                        M 1 Reply Last reply
                        0
                        • E El Corazon

                          Chris Maunder wrote:

                          Today is "Thou Shalt Not Touch Line 2 Day".

                          how will you do THAT graphic for Bob??

                          _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

                          C Offline
                          C Offline
                          Christopher Duncan
                          wrote on last edited by
                          #31

                          Just don't ask where line 2 is.

                          Christopher Duncan
                          www.PracticalUSA.com
                          Author of The Career Programmer and Unite the Tribes
                          Copywriting Services

                          1 Reply Last reply
                          0
                          • R realJSOP

                            I was about to install that monstrosity. You're giving me pause.

                            .45 ACP - because shooting twice is just silly
                            -----
                            "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
                            -----
                            "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                            C Offline
                            C Offline
                            Christopher Duncan
                            wrote on last edited by
                            #32

                            I'd rather watch Christian install it. He doesn't have guns. :)

                            Christopher Duncan
                            www.PracticalUSA.com
                            Author of The Career Programmer and Unite the Tribes
                            Copywriting Services

                            1 Reply Last reply
                            0
                            • R Roger Wright

                              The last website I worked on, VS2008 would not allow me to see or edit the first line of the default.aspx page. Editing the line in Notepad was my only option, and it resolved a bunch of problems. Is there a copy of EDLIN.Net somewhere around the shop? :rolleyes:

                              "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                              C Offline
                              C Offline
                              Christopher Duncan
                              wrote on last edited by
                              #33

                              You know I just had to fire up a dos prompt to see if it still lived. Regrettably, it's suffered the same fate as MS development tool quality. Edlin may be gone to that great bit bucket in the sky, but you'll be delighted to know that edit lives on. :)

                              Christopher Duncan
                              www.PracticalUSA.com
                              Author of The Career Programmer and Unite the Tribes
                              Copywriting Services

                              R 1 Reply Last reply
                              0
                              • C Christopher Duncan

                                martin_hughes wrote:

                                In your dreams, sonny

                                martin_hughes wrote:

                                Bring back 6502 machine code, is what I say. I understood computers back then!

                                "Warning. Error. Error. Vjer cannot compute. Error. Error... Must iron hands..." Nice try masking the age there, old guy. :) As for masking the complexity, I really grappled with that one recently. It turned out that the cheapest deal to get Photoshop CS4 was their Web Design Suite, which included Dreamweaver, Flash, et al. I happen to be in need of a new site, and I'd really just like to get it done. Dreamweaver, like FrontPage, Expression in a Blender, etc. is designed to make it easy for any monkey who can wiggle a mouse to kick out good looking stuff. Okay, sold so far. I just want the site up. But wait, there's a catch. I also have to fetch data from Sql Server, process forms, and do a number of other things in C# behind the scenes. Crap. Now I suddenly care what's under the hood again. Thus hiding the complexity no longer serves me well. Even if Adobe and MS technologies played nicely together 100% (a pipe dream, of course), when I do need to look behind the curtain the generated code is going to be unreadable, poorly formatted crap. That's true of Dreamweaver, VS or anything else. Seems there are really only two ways that things are done well. Visually design your stuff, and I mean stay 100% in the wysiwyg tools (Chris, how dare you edit VS's code, even if it's just line 2???), or fuggedabout the designers, code it yourself, and have maintainable code. If you take the latter path, I strongly suggest that you don't try to cut steak with a butter knife. Get a real editor. As for what I did in the war, well... you know this was the kind of thing that the wars were fought over, right? :)

                                Christopher Duncan
                                www.PracticalUSA.com
                                Author of The Career Programmer and Unite the Tribes
                                Copywriting Services

                                M Offline
                                M Offline
                                martin_hughes
                                wrote on last edited by
                                #34

                                Just us old boys and our war stories left :) I shudder to think what archivists will make of it all in 10,000 years time :D (Except that you were clearly older, obviously ;) )

                                Books written by CP members

                                C 1 Reply Last reply
                                0
                                • C Chris Maunder

                                  The core feature of Visual Studio is the ability to edit source code. That's #1. For me, though, Visual Studio 2010 is continually getting into a state where it no longer allows me to type. Usually I can just switch to another tab, then back again, or I close the file and reopen, and then I can edit again. There's no warning - just suddenly I can no longer type in that window. Sometimes if I switch away, then back, I see all the typing (and banging) that I did appear, meaning lots of Ctrl-Z-ing. However, I've just had a new one: I can no longer edit the second line in my current file. Everything else is fine, but I can't drag and drop, delete, type on it - nothing. Line 1 is great, line3, it welcomes my edits. But not line 2. Today is "Thou Shalt Not Touch Line 2 Day". I have to say that for all this talk of focus on quality in Microsoft products, they were using the wrong glasses. VS 2010 is becoming painful.

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

                                  C Offline
                                  C Offline
                                  Christian Graus
                                  wrote on last edited by
                                  #35

                                  VS has decided that line 2 is the best line of code you've ever written and is making sure you don't throw it all away.

                                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                                  L C 2 Replies Last reply
                                  0
                                  • M martin_hughes

                                    Just us old boys and our war stories left :) I shudder to think what archivists will make of it all in 10,000 years time :D (Except that you were clearly older, obviously ;) )

                                    Books written by CP members

                                    C Offline
                                    C Offline
                                    Christopher Duncan
                                    wrote on last edited by
                                    #36

                                    Yeah, every now and then I go out in the back yard and break a dinner plate, as a courtesy to future generations of archeologists. And trust me. I was born old. :)

                                    Christopher Duncan
                                    www.PracticalUSA.com
                                    Author of The Career Programmer and Unite the Tribes
                                    Copywriting Services

                                    1 Reply Last reply
                                    0
                                    • D Dalek Dave

                                      I bow to your superiour knowledge.

                                      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                                      A Offline
                                      A Offline
                                      AspDotNetDev
                                      wrote on last edited by
                                      #37

                                      Rather, you bend over for it.

                                      [Forum Guidelines]

                                      1 Reply Last reply
                                      0
                                      • C Christian Graus

                                        VS has decided that line 2 is the best line of code you've ever written and is making sure you don't throw it all away.

                                        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

                                        Indeed. It probably deserves a full-fledged article, explaining it all, including history and purpose. And not just a simple rant about its stability and tenacity. :)

                                        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                                        I only read formatted code with indentation, so please use PRE tags for code snippets.


                                        I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                                        1 Reply Last reply
                                        0
                                        • N Nemanja Trifunovic

                                          Chris Maunder wrote:

                                          The core feature of Visual Studio is the ability to edit source code.

                                          Really? I use it mostly for debugging. There are much better code editors out there.

                                          utf8-cpp

                                          R Offline
                                          R Offline
                                          Rama Krishna Vavilala
                                          wrote on last edited by
                                          #39

                                          Yes but do you get similar type of contextual Intellisense is them?

                                          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