Resharper move line up down not working

后端 未结 3 833
温柔的废话
温柔的废话 2020-12-23 19:27

I can\'t make it working, move line up or down doesn\'t work. When I reset keyboard for VS and applay scheme for Resharper it ask me for this :

3条回答
  •  清歌不尽
    2020-12-23 19:52

    Alt+Up is not a ReSharper shortcut to move a line. It most likely belongs to the Productivity Power Tools extension, that has a feature to move one or more (selected) lines.

    Personally, I don't like this feature in PPT, since it will just move the line(s), regardless of their scope, causing compilation errors. I much rather use ReSharper's feature of moving blocks of code up or down, by pressing Ctrl + Shift + Alt + / or / - when on the beginning of the line, it will move the entire line or block of code, but can also be used to move entire methods, change the order of parameters, etc.

提交回复
热议问题