Rubberduck icon indicating copy to clipboard operation
Rubberduck copied to clipboard

Add line swap shortcuts like vscode

Open ShortArrow opened this issue 2 years ago • 1 comments

Justification

This feature is one of the reasons why I want to reject VBA and adopt a language that can be used with vscode.

Description

Add swap lines feature like vscode of Move line up and down

ShortArrow avatar Nov 05 '21 07:11 ShortArrow

Because any feature like this will necessarily interact with the the selection inside the vbe, this is somewhat complex to implement. Moving all selected lines around is surprisingly complex, especially since we can't rely on the parser state to accomplish this (if we want this to be useful at all we can't reparse between every move)

Vogel612 avatar Nov 05 '21 10:11 Vogel612