https://github.com/vilicvane/vscode-es-quotes
ES Quotes Extension for Visual Studio Code.
https://github.com/vilicvane/vscode-es-quotes
Last synced: 7 months ago
JSON representation
ES Quotes Extension for Visual Studio Code.
- Host: GitHub
- URL: https://github.com/vilicvane/vscode-es-quotes
- Owner: vilicvane
- Created: 2015-10-18T06:08:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-19T10:38:36.000Z (over 6 years ago)
- Last Synced: 2024-11-30T15:42:04.514Z (7 months ago)
- Language: TypeScript
- Size: 104 KB
- Stars: 26
- Watchers: 3
- Forks: 11
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ES Quotes for Visual Studio Code
A simple quotes helper for JavaScript and TypeScript.
It uses a simplified parser to build the string tree then handle the replacement.
So don't worry about your comments containing quotes.
And more.

## Install
`Ctrl/Cmd + P` in Visual Studio Code, then:
```sh
ext install es-quotes
```## Commands
- `esQuotes.transformToTemplateString`
Transform a normal string to a template string.
- `esQuotes.transformToNormalString`
Transform a template string to a normal string.
- `esQuotes.transformBetweenSingleDoubleQuotes`
Transform a normal string between single and double quotes.
- `esQuotes.transformBetweenQuotes`
Transform a normal string between single, double and template quotes.## Options
- `esQuotes.defaultQuote`
Default quote when transforming to a normal string. Can be either `'` or `"`.## License
MIT License.