VS Code Move Statement
- Works almost with any language.
- Two main commands: Move Statement: Move Statement Up & Move Statement: Move Statement Down.
Experimental VS Code extension for moving statements using document outline (aka breadcrumbs) knowledge. That's why it is language-independent (if your language has outline support), but it can't be 100% accurate in all cases.
This way mainly created as replacement for Move Line commands and works well for JSON, HTML/Vue and other declarative languages. And for literal properties in any language.
There are no default keybindings, however you can (and probably should) set them:
> Preferences: Open Keyboard Shortcuts (JSON)):
Alternatively, you can bind them to