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.
  • 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
                            • C Christopher Duncan

                              I suppose for those who are used to working completely in the IDE it would be weird to toggle back and forth between the compiler / debugger and an editor (though perhaps not as weird as being unable to edit line 2). I've been doing it so long it's natural to me and I simply can't imagine trusting my coding, i.e. what I spend most of my time doing when developing, to a subpar application. No matter what I'm doing, I like power tools. I wouldn't use a chainsaw to change sparkplugs, so why would I want to use a compiler / debugger to write source code? The right tool for the job, and all that.

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

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

                              Christopher Duncan wrote:

                              I've been doing it so long it's natural to me and I simply can't imagine trusting my coding, i.e. what I spend most of my time doing when developing, to a subpar application.

                              That's a powerful statement which I do not think is true either. Whatever, editor you are using does it understand code as code or does it simply consider it text? Does it have contextual Intellisense? Can it refactor your code? Modern IDE editors do that and even they have a few glitches, they do it better than any regular text editors. Text editors are meant to edit text, IDEs are meant to edit code. The right tool for editing text is a text editor and the right tool for editing code is an IDE. VS for C#/VB.NET and Eclipse for Java. I am all for right tool for right job but the job has to be defined correctly and be known first:)

                              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
                                Chris Losinger
                                wrote on last edited by
                                #41

                                unplug it, then plug it back in. or maybe detonate a hydrogen bomb near it ?

                                image processing toolkits | batch image processing

                                1 Reply Last reply
                                0
                                • R Rama Krishna Vavilala

                                  Christopher Duncan wrote:

                                  I've been doing it so long it's natural to me and I simply can't imagine trusting my coding, i.e. what I spend most of my time doing when developing, to a subpar application.

                                  That's a powerful statement which I do not think is true either. Whatever, editor you are using does it understand code as code or does it simply consider it text? Does it have contextual Intellisense? Can it refactor your code? Modern IDE editors do that and even they have a few glitches, they do it better than any regular text editors. Text editors are meant to edit text, IDEs are meant to edit code. The right tool for editing text is a text editor and the right tool for editing code is an IDE. VS for C#/VB.NET and Eclipse for Java. I am all for right tool for right job but the job has to be defined correctly and be known first:)

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

                                  Rama Krishna Vavilala wrote:

                                  Text editors are meant to edit text, IDEs are meant to edit code.

                                  Text editors (notepad) are meant to edit text, IDEs are meant to compile and debug, with a built in editor to help you fix your screwup when you find it. Programmers editors are meant for programming, and doing it really, really fast. Intellisense, refactoring, etc. are supported by Visual SlickEdit and I suspect all of its peers. As for the definition of the job, it's kicking out good, maintainable code and meeting the deadline. IDEs, with VS being a great example, try to be all things to all people. That's rarely a recipe for best in class functionality. And by the way, I didn't just come up with this perspective out of the clear blue sky. I've used IDEs, visual design tools, programmers editors, etc. over the years, and that's how I've formed my opinions on the merits of half assed IDE editors, half assed IDE visual design tools (yeah, VS, I'm talkin' to you), etc. For compiling and debugging, VS gets my vote, but it's hardly best of breed in the other categories.

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

                                  R 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

                                    X Offline
                                    X Offline
                                    Xiangyang Liu
                                    wrote on last edited by
                                    #43

                                    Thank you, that makes me feel much better. Now I am not allowed work on .NET projects yet, I have to use some java crap that pretends to be an IDE. The problem I had yesterday is even funnier than yours: Everything I typed appears backwards. Java becomes avaJ, String becomes gnirtS, which makes me want to flesym llik. Now I know I am not the only one who is suffering. :-D

                                    My .NET Business Application Framework     My Younger Son & His "PET"

                                    1 Reply Last reply
                                    0
                                    • C Christopher Duncan

                                      Rama Krishna Vavilala wrote:

                                      Text editors are meant to edit text, IDEs are meant to edit code.

                                      Text editors (notepad) are meant to edit text, IDEs are meant to compile and debug, with a built in editor to help you fix your screwup when you find it. Programmers editors are meant for programming, and doing it really, really fast. Intellisense, refactoring, etc. are supported by Visual SlickEdit and I suspect all of its peers. As for the definition of the job, it's kicking out good, maintainable code and meeting the deadline. IDEs, with VS being a great example, try to be all things to all people. That's rarely a recipe for best in class functionality. And by the way, I didn't just come up with this perspective out of the clear blue sky. I've used IDEs, visual design tools, programmers editors, etc. over the years, and that's how I've formed my opinions on the merits of half assed IDE editors, half assed IDE visual design tools (yeah, VS, I'm talkin' to you), etc. For compiling and debugging, VS gets my vote, but it's hardly best of breed in the other categories.

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

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

                                      What does Visual Slick Edit give me which the IDE editor does not? I see that it is full of features but I can see all those features in VS editor too. Also I do not see it supporting any kind of refactoring.

                                      C 1 Reply Last reply
                                      0
                                      • R Rama Krishna Vavilala

                                        What does Visual Slick Edit give me which the IDE editor does not? I see that it is full of features but I can see all those features in VS editor too. Also I do not see it supporting any kind of refactoring.

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

                                        Well for one thing, you can edit Line 2. :)

                                        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

                                          Well for one thing, you can edit Line 2. :)

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

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

                                          That's something Chris found probably the soy latte did not work for him :). He needs real coffee. I tried SlickEdit after a friend recommended it, but he was not able to show me anything concrete which was not already there in VS. He had lot of "Aha" moments. I do not buy that the whole premise that VS editor is somehow half baked or that IDE's meant for writing, compiling and debugging code cannot be good in all these things. In fact code editing is much more of a defining feature of an IDE than the ability to debug.

                                          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