Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vilicvane/vscode-es-quotes
ES Quotes Extension for Visual Studio Code.
https://github.com/vilicvane/vscode-es-quotes
Last synced: 20 days 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-19T10:38:36.000Z (about 6 years ago)
- Last Synced: 2024-11-30T15:42:04.514Z (23 days 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.![es-quotes](https://cloud.githubusercontent.com/assets/970430/10563944/4cc04462-75d1-11e5-984b-41e0a21a72c3.gif)
And more.
![es-quotes-transform-template-strings](https://cloud.githubusercontent.com/assets/970430/11168910/ee3c5646-8bde-11e5-938e-00ed604aba3d.gif)
## 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.