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