Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kirillplatonov/vscode-erb-toggle
VSCode: Toggle command for ERB tags
https://github.com/kirillplatonov/vscode-erb-toggle
Last synced: 5 days ago
JSON representation
VSCode: Toggle command for ERB tags
- Host: GitHub
- URL: https://github.com/kirillplatonov/vscode-erb-toggle
- Owner: kirillplatonov
- License: mit
- Created: 2020-05-16T09:28:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-16T11:46:24.000Z (over 4 years ago)
- Last Synced: 2024-12-06T23:49:30.793Z (16 days ago)
- Language: JavaScript
- Size: 120 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# VSCode ERB Toggle
This extensions provides toggle command for ERB tags in VSCode.
Command:
```
erb-toggle.toggleTags
```## Features
- Cycles through tags `<%= %>`, `<% %>` and `<%= %>`
- Multiline support
- Works in `erb`, `html.erb`, `js.erb`, `css.erb`, `scss.erb`## Demo
![VSCode ERB Toggle](images/demo.gif?raw=true)
## Keyboard shortcuts
MacOS: `Command+Shift+.`
Windows & Linux: `Ctrl+Shift+.`
To customize keyboard shortcuts:
```
{
"command": "erb-toggle.toggleTags",
"key": "ctrl+shift+.",
"when": "editorTextFocus && editorLangId =~ /erb/"
},
```## Credits
Inspired by [@vortizhe](https://github.com/vortizhe) plugin [vscode-ruby-erb](https://github.com/vortizhe/vscode-ruby-erb).
## License
This extension is [licensed under the MIT License](LICENSE.txt).