Skip to content

Latest commit

 

History

History
executable file
·
36 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

executable file
·
36 lines (24 loc) · 1.11 KB

BEM Tools plugin for InetllJ-based IDE's

Now working on Unix-like OS only.

Warning: it's alpha version.

Installation:

Install bem-tools-core

npm i -g bem-tools/bem-tools-core
npm i -g bem-tools/bem-tools-create

Download BEM.jar and install plugin (use "instal plugin from disk..." option)

  • Go to preferences, bem plugin page (Preferences -> Other Settings -> BEM)
  • Set the path to the nodejs interpreter bin file.
  • Set the path to the bem bin file.
    • On Mac/Unix should point to /usr/local/lib/node_modules/bem-tools-core/bin/bem
    • On Windows should point to ````C:\Users<username>\AppData\Roaming\npm\bem-tools-core\bin\bem```

Using

File/New/BEM Block

level1/b1.{css,js} // will create b1.css and b1.js in level1/b1 folder
b1__e1.{css,js} // will create b1/__e1/b1__e1.css and b1/__e1/b1__d1.js in current folder
b1 // will create b1 with default techs from config in current folder

Open Source Libs

intellij-common lib