feline
Whole Tomato Software
    
United Kingdom
19105 Posts |
Posted - Mar 20 2019 : 10:19:24 AM
|
You can do this in the IDE options dialog box. Via:
IDE tools menu -> Options -> Environment -> Keyboard
for me, in VS2018, the default keyboard shortcuts for Alt+Arrow Up / Down are:
Edit.MoveSelectedLinesUp - Alt+Up Arrow Edit.MoveSelectedLinesDown - Alt+Down Arrow
use the filter to find these command names, and then set the keyboard shortcuts you want to use, with the scope you want, probably just Text Editor, and assign the mappings. |
zen is the art of being at one with the two'ness |
 |
|
sean
Whole Tomato Software
    
USA
2817 Posts |
Posted - Mar 25 2019 : 10:35:17 PM
|
If you used the VA Recommended shortcuts dialog, then you will also want to delete any state it recorded. Open regedit.
You can either delete the entire CommandBindings key to restore default state: HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VANet15\CommandBindings
Or within that key, change the Enabled value of "Alt+Up Arrow" and "Alt+Down Arrow" to 00 from 01. |
 |
|