https://github.com/blackhaj/overwrap
A VSCode extension to overwrite the wrapping symbols of selected text
https://github.com/blackhaj/overwrap
devx extension vscode
Last synced: 9 months ago
JSON representation
A VSCode extension to overwrite the wrapping symbols of selected text
- Host: GitHub
- URL: https://github.com/blackhaj/overwrap
- Owner: blackhaj
- License: mit
- Created: 2024-07-12T02:19:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-19T17:26:17.000Z (over 1 year ago)
- Last Synced: 2025-02-06T13:49:28.384Z (about 1 year ago)
- Topics: devx, extension, vscode
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=blackhaj.overwrap
- Size: 606 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Overwrap
An extension to overwrite the wrapping symbols of selected text. Has your selected text got double quotes but you need backticks? Overwrap can help.
## Features
Allows you to highlight some text and overwrite the wrapping symbols.
For example, you could highlight the following text which uses double quotes:
```js
"Hello from the ${otherside}";
```
And toggle it to use backticks
```js
`Hello from the ${otherside}`;
```

The extension provides commands to overwrite using the following wrapping symbols:
- double quotes `"stuff"`
- single quotes `(stuff)`
- square brackets `[stuff]`
- curly braces `{stuff}`
- parens `` `stuff` ``
## Extension Settings
This extension contributes the following settings:
- `overwrap.trimWhitespace`: Trim whitespace from the selected text before applying the changes.
## Release Notes
### 1.0.0
Initial release of the extension
### 1.0.1
Added an icon