IntelliJ/WebStorm plugin for CSS Modules in JavaScript and TypeScript. Provides code completion, go-to-definition navigation, quick documentation, and missing-class quick fixes for import styles from './file.css'.
- Completion — class name completion for bracket syntax (
styles['...']) and dot syntax (styles....); hyphenated names auto-convert to bracket syntax on insertion - Navigation — Ctrl+Click / Go to Definition on a class name jumps to the CSS ruleset
- Quick documentation — hover over a class name to see the corresponding CSS block
- Annotations — unknown class names are highlighted with a quick fix to create the missing ruleset
- Sass/SCSS/LESS — resolves parent selectors (
&),@import,@use, and@forward - Circular import safety — gracefully short-circuits circular
@import/@usechains
- Does not transform class names to camelCase — hyphenated names are preserved and navigable
- Does not handle
:globalselectors — those are treated as plain CSS
- Forked from jimkyndemeyer/react-css-modules-intellij-plugin
- Built with the IntelliJ Platform Plugin Template