Make "move line" command to work contextually #84763
Labels
editor-autoindent
Editor auto indentation issues
feature-request
Request for new features or functionality
javascript
JavaScript support issues
typescript
Typescript support issues
Milestone
VSCode "move line" command is a fantastic feature. But it would be way more productive if it works with multiline key-values in objects.
For example imagine the following object declaration:
if we wanna move
position
including its value one line higher aboveisValid
(either we have to select multiple lines or) it only moves theposition: {
.It would be much more productive and ideal when the cursor is on the
position: {
line, the "move up" command moves the wholeposition
key including its value (the nested object declaration) all together.This would be the ideal result moving the
position
key only by one "move up" command:instead of this:
Of course this could be done as an extension but I thought first brainstorm this with the team.
The text was updated successfully, but these errors were encountered: