Skip to content

bem-tools/intellj-bem-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Plugin to use bem-tools with JetBrains IDEs via gui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages