Skip to content

mrmlnc/vscode-lebab

Repository files navigation

VS Code Plugin for Lebab

Lebab transpiles your ES5 code into readable ES2015 (sugar-syntax). It does exactly the opposite of what Babel does.

VS Code Plugin for Lebab

Donate

If you want to thank me, or promote your Issue.

Donate

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.

Install

  • Press F1 and select Extensions: Install Extensions.
  • Search for and select lebab.

See the extension installation guide for details.

Usage

Press F1 and run the command named Lebab: convert JavaScript code from ES5 to ES2015.

Supported languages

  • JavaScript

Supported settings

lebab.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.

Keyboard shortcuts

For changes keyboard shortcuts, create a new rule in File -> Preferences -> Keyboard Shortcuts:

{
  "key": "ctrl+shift+c",
  "command": "lebab.convert"
}

Changelog

See the Releases section of our GitHub project for changelogs for each release version.

License

This software is released under the terms of the MIT license.