Skip to content

Q-Peppa/react-css-modules-all

Repository files navigation

CSS Modules

Downloads Rating Version

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

Features

  • 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/@use chains

Install

Plugin Marketplace

What This Plugin Does Not Do

  • Does not transform class names to camelCase — hyphenated names are preserved and navigable
  • Does not handle :global selectors — those are treated as plain CSS

Origin

Related JetBrains Issues

Releases

No releases published

Packages

 
 
 

Contributors