Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1017 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 1017 Bytes

ECSStractor for IntelliJ-based IDEs (WebStorm, IntelliJ IDEA, etc.)

Works similarly to the eCSStractor plugin for Sublime Text, helping you extract CSS class names from HTML. The plugin supports:

  • Extracting class names from HTML to a new stylesheet file, a scratch file, or your clipboard.
  • Specifying the target language of that new file: CSS, LESS, SCSS, SASS, Stylus.
  • Using BEM-specific nesting.
  • Working with HTML, PHP, JSX, Vue and other XML-like files.

You can tweak the plugin settings in Preferences / Settings | ECSStractor.

Example

For plugin developers

A description of how to develop plugins for Intellij IDEA based IDE's:
https://blog.jetbrains.com/webstorm/2021/09/building-a-plugin-for-webstorm-part-1/
https://blog.jetbrains.com/webstorm/2021/11/building-a-plugin-for-webstorm-part-2/