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. Alt-Select is new for VS2010?

Alt-Select is new for VS2010?

Scheduled Pinned Locked Moved The Lounge
visual-studiocsharpcomcollaborationquestion
20 Posts 13 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.
  • N NormDroid

    Wasn't working in the VS2010 betas.

    Two heads are better than one.

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

    You could have rearranged the words and still be right: "VS2010 betas were crap, and so is the release version."

    .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

    1 Reply Last reply
    0
    • N Nigel Savidge

      Just reading the April MSDN Magazine[^] It says "Another nice new feature in the Visual Studio 2010 editor is the ability to box select and edit a vertical block of text. ... How It Works: Press and hold down the Alt key and make the vertical selection you want to edit..." Wow, very useful, but I'm sure I've been using Alt-Select for vertical blocks since Visual Studio 6! I remember it not being in VS 1.5 - which was very annoying.


      Team Code Project[^] :cool:

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

      It’s been 13 years since Microsoft first rolled out Visual Studio, its long-running flagship integrated development environment. The 1997 inaugural release began the alignment of versions 5 of Visual Basic and Visual C++ into a common IDE.

      My memory is very hazy, but that's not my recollection of VS97 or 6. There was no common IDE between VB, VC++ or any of the other products or any attempt to combine them into one as far as I can recall.

      Books written by CP members

      K R 2 Replies Last reply
      0
      • M martin_hughes

        It’s been 13 years since Microsoft first rolled out Visual Studio, its long-running flagship integrated development environment. The 1997 inaugural release began the alignment of versions 5 of Visual Basic and Visual C++ into a common IDE.

        My memory is very hazy, but that's not my recollection of VS97 or 6. There was no common IDE between VB, VC++ or any of the other products or any attempt to combine them into one as far as I can recall.

        Books written by CP members

        K Offline
        K Offline
        Kevin McFarlane
        wrote on last edited by
        #12

        martin_hughes wrote:

        There was no common IDE between VB, VC++ or any of the other products or any attempt to combine them into one as far as I can recall

        There were partial attempts. IIRC, In VS 97 VC++, J++ and InterDev all used the Developer Studio shell. In VS 6 J++ and InterDev used the Microsoft Development Environment shell. The latter was apparently derived from the code base for VB 6 but not rolled into VB 6 itself. You can tell that this was the prototype for the Visual Studio .NET shell that eventually emerged.

        Kevin

        1 Reply Last reply
        0
        • M martin_hughes

          It’s been 13 years since Microsoft first rolled out Visual Studio, its long-running flagship integrated development environment. The 1997 inaugural release began the alignment of versions 5 of Visual Basic and Visual C++ into a common IDE.

          My memory is very hazy, but that's not my recollection of VS97 or 6. There was no common IDE between VB, VC++ or any of the other products or any attempt to combine them into one as far as I can recall.

          Books written by CP members

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

          The VS6 IDE for VS Interdev and VJ++ was the first step to unify the IDEs. The code of VS Interdev was the foundation of VS2001 which was a common IDE for C++, VB and Web.

          M 1 Reply Last reply
          0
          • N Nigel Savidge

            Just reading the April MSDN Magazine[^] It says "Another nice new feature in the Visual Studio 2010 editor is the ability to box select and edit a vertical block of text. ... How It Works: Press and hold down the Alt key and make the vertical selection you want to edit..." Wow, very useful, but I'm sure I've been using Alt-Select for vertical blocks since Visual Studio 6! I remember it not being in VS 1.5 - which was very annoying.


            Team Code Project[^] :cool:

            K Offline
            K Offline
            Kevin McFarlane
            wrote on last edited by
            #14

            Nigel Savidge wrote:

            I'm sure I've been using Alt-Select for vertical blocks since Visual Studio 6

            Yes, it was a feature of Developer Studio. It was probably in VC++ 4 and 5 as well but I'm not certain. It was carried over into the VS .NET IDE.

            Kevin

            1 Reply Last reply
            0
            • R Rama Krishna Vavilala

              The VS6 IDE for VS Interdev and VJ++ was the first step to unify the IDEs. The code of VS Interdev was the foundation of VS2001 which was a common IDE for C++, VB and Web.

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

              Ah, well that explains it - the bits of VS97 I rarely ever touched :)

              Books written by CP members

              1 Reply Last reply
              0
              • M moon_stick

                Keep reading - it's block edit, not block select: "How It Works Press and hold down the Alt key and make the vertical selection you want to edit, The highlighted area will function just like a single-line edit, but the edits will be duplicated simultaneously on all selected lines, as shown in Figure 2" p13, bottom left

                Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it.

                N Offline
                N Offline
                Nigel Savidge
                wrote on last edited by
                #16

                It's always been block edit, it may have been extended in VS2010 but the vertical block copy and paste has always been very useful, although that doesn't seem to work quite as it used to.


                Team Code Project[^] :cool:

                M 1 Reply Last reply
                0
                • N Nigel Savidge

                  It's always been block edit, it may have been extended in VS2010 but the vertical block copy and paste has always been very useful, although that doesn't seem to work quite as it used to.


                  Team Code Project[^] :cool:

                  M Offline
                  M Offline
                  moon_stick
                  wrote on last edited by
                  #17

                  I've just tried in VS2008 and it definitely doesn't work the same. Just to clarify, suppose I've got a list of variables: int abc; int abc1; int abc2; int abc3; int abc4; int abc5; and I block select all of the 'a' characters in the variable name (assume I've selected from the top down). In VS2008, if with this block selected I type 'xyz' the screen would show: int bc; int bc1; int bc2; int bc3; int bc4; int xyzbc5; but in VS2010 it would show: int xyzbc; int xyzbc1; int xyzbc2; int xyzbc3; int xyzbc4; int xyzbc5; so rather than having to edit by pressing [cursor-up][cursor-left][cursor-left][cursor-left][x][y][z] for each row, I can block edit.

                  Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it.

                  J B 2 Replies Last reply
                  0
                  • M moon_stick

                    I've just tried in VS2008 and it definitely doesn't work the same. Just to clarify, suppose I've got a list of variables: int abc; int abc1; int abc2; int abc3; int abc4; int abc5; and I block select all of the 'a' characters in the variable name (assume I've selected from the top down). In VS2008, if with this block selected I type 'xyz' the screen would show: int bc; int bc1; int bc2; int bc3; int bc4; int xyzbc5; but in VS2010 it would show: int xyzbc; int xyzbc1; int xyzbc2; int xyzbc3; int xyzbc4; int xyzbc5; so rather than having to edit by pressing [cursor-up][cursor-left][cursor-left][cursor-left][x][y][z] for each row, I can block edit.

                    Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it.

                    J Offline
                    J Offline
                    Jim Crafton
                    wrote on last edited by
                    #18

                    If that's new, that *is* pretty cool.

                    ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                    1 Reply Last reply
                    0
                    • M moon_stick

                      Keep reading - it's block edit, not block select: "How It Works Press and hold down the Alt key and make the vertical selection you want to edit, The highlighted area will function just like a single-line edit, but the edits will be duplicated simultaneously on all selected lines, as shown in Figure 2" p13, bottom left

                      Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it.

                      P Offline
                      P Offline
                      peterchen
                      wrote on last edited by
                      #19

                      Aaaaaah! light clapping from the audience

                      Agh! Reality! My Archnemesis![^]
                      | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server.

                      1 Reply Last reply
                      0
                      • M moon_stick

                        I've just tried in VS2008 and it definitely doesn't work the same. Just to clarify, suppose I've got a list of variables: int abc; int abc1; int abc2; int abc3; int abc4; int abc5; and I block select all of the 'a' characters in the variable name (assume I've selected from the top down). In VS2008, if with this block selected I type 'xyz' the screen would show: int bc; int bc1; int bc2; int bc3; int bc4; int xyzbc5; but in VS2010 it would show: int xyzbc; int xyzbc1; int xyzbc2; int xyzbc3; int xyzbc4; int xyzbc5; so rather than having to edit by pressing [cursor-up][cursor-left][cursor-left][cursor-left][x][y][z] for each row, I can block edit.

                        Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it.

                        B Offline
                        B Offline
                        Brady Kelly
                        wrote on last edited by
                        #20

                        Oh wow! That will save me from either having to get better at VS Search and Replace regex, or do my frequent little findger-cursor coordination exercises.

                        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