https://github.com/kkapsner/vscode-movearguments
Extension for vscode to move arguments in lists
https://github.com/kkapsner/vscode-movearguments
Last synced: about 1 year ago
JSON representation
Extension for vscode to move arguments in lists
- Host: GitHub
- URL: https://github.com/kkapsner/vscode-movearguments
- Owner: kkapsner
- License: mit
- Created: 2019-03-20T12:27:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-30T17:10:09.000Z (about 3 years ago)
- Last Synced: 2025-02-09T12:25:35.282Z (over 1 year ago)
- Language: TypeScript
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# movearguments
This extension adds actions to vscode to move arguments.
## Features
Adds the action movearguments.action.moveLeft and movearguments.action.moveRight. These actions move the selected argument in list. Commas are used to separate the arguments and lists may be enclosed in (...), [...] or {...}.
* selects the moved argument after moving
* preserves the selection direction
* works with multiple selections (order of the selected arguments will not be changed)
* preserves starting and ending whitespaces from the new position
* does not move arguments out of lists or puts them inside lists
* BUT if the list delimiter is selected arguments can be moved out and in
## Requirements
None.
## Release Notes
### 1.0.0
Initial release of MoveArguments. Does nothing else as what is mentioned in the features.
## Known Issues
* string literals are not respected
* arguments containing complete lists can only be moved when selecting the complete list beforehand