https://github.com/shadyboukhary/vscode-paste-as-string-array
VSCode extension to paste text as a string array. This is useful when copying command line into launch.json args
https://github.com/shadyboukhary/vscode-paste-as-string-array
debugging json vscode vscode-extension
Last synced: about 1 year ago
JSON representation
VSCode extension to paste text as a string array. This is useful when copying command line into launch.json args
- Host: GitHub
- URL: https://github.com/shadyboukhary/vscode-paste-as-string-array
- Owner: ShadyBoukhary
- License: mit
- Created: 2022-09-09T22:23:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-10T00:37:25.000Z (almost 4 years ago)
- Last Synced: 2025-04-01T13:43:27.502Z (about 1 year ago)
- Topics: debugging, json, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=shadyboukhary.paste-as-string-array
- Size: 120 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# paste-as-string-array

Tired of having to convert command line arguments to an array of strings for use in `launch.json` in VSCode? You're not alone. This extension solves this issue by automatically converting arguments to fit VSCode expectations.
## Features
### Paste As String Array
Simply execute the `Paste as String Array` command in Ctrl+shift+P or use the following shortcuts
* Windows: Ctrl+Alt+V
* Linux: Ctrl+Alt+V
* MacOS: Cmd+Shift+V
It will convert an example cmdline from this:
```
--arg1 1 --arg2 2 --arg3 3 --args4 1 2 3 test --args5 test1 test2 test3 test4
```
To this
```
"--arg1","1","--arg2","2","--arg3","3","--args4","1","2","3","test","--args5","test1","test2","test3","test4"
```
