Bemmet plugin for Idea to expand bemmet abbreviation into BEMJSON.
Install bemmet
with npm
npm i -g bemmet
**You need to have Node.js install
Download bemmet-idea.jar and install plugin (use "instal plugin from disk..." option)
- Go to preferences, bemmet plugin page (Preferences -> Tools -> Bemmet plugin)
- Set the path to the nodejs interpreter bin file.
- On Mac/Unix should point to
/usr/local/bin/node
- On Mac/Unix should point to
- Set the path to the bemmet source.
- On Mac/Unix should point to
/usr/local/lib/node_modules/bemmet
- On Windows should point to
C:\Users\<username>\AppData\Roaming\npm\bemmet\
- On Mac/Unix should point to
Select text, open "Refactor" menu and choose "text2bemjson" option.
Default shortcut cmd(ctrl) + shift + b. You can change shortcut in the Idea settings page.