Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8623365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:15:47+00:00 2026-06-12T07:15:47+00:00

In VS2010 I had a shortcut set up Alt + Up/Down to move lines

  • 0

In VS2010 I had a shortcut set up Alt+Up/Down to move lines of code up or down, just like I used to have in Eclipse in my Java days.

Now since Power Tools and macros (which is how I set up this shortcut in VS2010) are not available in VS2012, how do I get this to work?

I’ve seen somebody mentioned that Resharper can do this, but for the love of fire and water, I can’t find the command names in the list of commands that can do that.
I have tried ReSharper_MoveUp/MoveDown and that does not move lines up/down:

Move_Up command did not do the trick

This moves blocks of text up and down. I just want line-by-line up or down, no fancy logic there.
Before

What I have

After ALT+Up (when cursor is on WriteLine line) I would like to see this:

Line moved one up, inside the bracket, indented

I have seen these threads: What's the equivalent for eclipse's ALT+UP/DOWN (move line) in Visual Studio?, Visual Studio: hotkeys to move line up/down and move through recent changes, but none of the suggested solutions work in VS2012.

Any other ideas?

UPD 7 Nov 2012: . Extensions are catching up with Visual Studio 2012. Now I know at least 3 extensions that provide this functionality:

  • MoveLine Extension. Link provided by Carl G
  • Move Line Extension with modifications to 2010 version. By gius
  • Productivity Power Tools 2012. Have not actually tried this, but this blog post states it does the line move up/down

UPD 15 Nov 2012: Just stumbled across another extension that claims it does what is required here. Have not tried it though: LineMan Extension

UPD 10 May 2015 Just installed VS2015 RC and this is built-in already:
MoveLineUp/Down

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:15:49+00:00Added an answer on June 12, 2026 at 7:15 am

    Update: huzzah, Productivity PowerTools VS2012 is now available and offers this functionality (along with another personal favorite, Tools.AddEndTokenAtTheEnd.)

    MoveLine Extension (compatible with VS 2012; I had to manually restart my VS in order to see the commands in VS’s keyboard shortcut tool.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have had a problem where VS2010 will not build my projects before debugging.
I used to use VS2010, which had no trouble loading System.Byte[] (byte array) from
I have recently had to move my project from using the CPython 2.6 interpreter
I had this code in a project in VS2010 - it was a placeholder
I had a working installation of VS2010 that I used heavily on this machine
I have a VS2010 solution that includes multiple projects. The folder structure looks like
Ok, I had VS2010 Start Page set up to display 20+ projects in the
We just switched over to VS2010, and I remember a while back I had
In VS2010 they added to all projects a virtual directory called External Dependencies: alt
I am working on VS2010, Crystal Reports. While compiling my code I am getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.