Lebab transpiles your ES5 code into readable ES2015 (sugar-syntax). It does exactly the opposite of what Babel does.
If you want to thank me, or promote your Issue.
Sorry, but I have work and support for plugins and modules requires some time after work. I will be glad of your support or PR's.
- Press
F1
and selectExtensions: Install Extensions
. - Search for and select
lebab
.
See the extension installation guide for details.
Press F1
and run the command named Lebab: convert JavaScript code from ES5 to ES2015
.
- JavaScript
lebab.transforms
- Type:
Array
- Default: safe transforms.
All transforms are available in the official repository Lebab.
lebab.skipWarnings
- Type:
Boolean
- Default:
true
Some transforms generate warnings when they cannot be applied. This option disables these messages.
For changes keyboard shortcuts, create a new rule in File -> Preferences -> Keyboard Shortcuts
:
{
"key": "ctrl+shift+c",
"command": "lebab.convert"
}
See the Releases section of our GitHub project for changelogs for each release version.
This software is released under the terms of the MIT license.