This plugin provides support for PostCSS in IntelliJ IDEA Ultimate, GoLand, PhpStorm, PyCharm Professional, Rider, RubyMine, and WebStorm.
Features:
- Highlighting for the PostCSS syntax. You can additionally configure it in Settings/Preferences | Editor | Colors & Fonts.
- Intelligent code completion.
- Configurable Code style and auto-formatting.
- Go to declaration, Go to symbol, and Find usages actions are available for custom selectors and custom media queries.
- Rename custom selectors and custom media queries with ease.
The following PostCSS plugins are supported:
- postcss-custom-properties
- postcss-apply
- postcss-custom-media
- postcss-media-minmax
- postcss-custom-selectors
- postcss-nesting
- postcss-nested
- To install the plugin in the IDE, open Settings/Preferences | Plugins, then click Install JetBrains plugins and find it on the list.
- The IDE will now recognise the .pcss files. You can also enable PostCSS support for your .css files in Settings/Preferences | Languages & Frameworks | Stylesheets | Dialects.
Please report any issues on https://youtrack.jetbrains.com/issues/WEB.
TBD