{"id":21917552,"url":"https://github.com/jimkyndemeyer/react-css-modules-intellij-plugin","last_synced_at":"2025-04-19T10:32:55.143Z","repository":{"id":134613431,"uuid":"73110931","full_name":"jimkyndemeyer/react-css-modules-intellij-plugin","owner":"jimkyndemeyer","description":"React CSS Modules support in IntelliJ IDEA and WebStorm for components written in JavaScript and TypeScript.","archived":false,"fork":false,"pushed_at":"2016-12-03T13:37:24.000Z","size":1199,"stargazers_count":41,"open_issues_count":11,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T07:11:17.521Z","etag":null,"topics":["css","css-modules","intellij","react","webstorm"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimkyndemeyer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-07T19:01:33.000Z","updated_at":"2024-09-01T05:03:15.000Z","dependencies_parsed_at":"2023-08-15T08:34:23.517Z","dependency_job_id":null,"html_url":"https://github.com/jimkyndemeyer/react-css-modules-intellij-plugin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimkyndemeyer%2Freact-css-modules-intellij-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimkyndemeyer%2Freact-css-modules-intellij-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimkyndemeyer%2Freact-css-modules-intellij-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimkyndemeyer%2Freact-css-modules-intellij-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimkyndemeyer","download_url":"https://codeload.github.com/jimkyndemeyer/react-css-modules-intellij-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249675727,"owners_count":21309340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","css-modules","intellij","react","webstorm"],"created_at":"2024-11-28T19:34:02.137Z","updated_at":"2025-04-19T10:32:55.115Z","avatar_url":"https://github.com/jimkyndemeyer.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React CSS Modules IntelliJ Plugin\n\nReact CSS Modules support for components written in JavaScript and TypeScript.\n\nIt provides the following features in IntelliJ IDEA, WebStorm, RubyMine, PhpStorm, and PyCharm:\n\n- Completion and error highlighting for require'd CSS classes used in React `styleName` attributes\n- Completion and error highlighting for require'd CSS classes used in styles string literals, e.g. `styles['my-class']`\n- Intention to create missing CSS class from usage in React\n- Integrates React references to CSS class names with 'Find Usages', 'Rename', and 'Go to Declaration'\n\n## Features demo\n\n**Completion, error highlighting, find usages**\n![](docs/react-css-modules-webstorm-demo.gif)\n\n## Known limitations\n\n`@value` shows \"Unknown CSS at-rule\" error in the editor. There doesn't appear to be an API hook for adding @value as a known rule, or for filtering the error. To remove the error marker (but also other at-rule error markers) disable the inspection.\n\nAccessing style names via fields (e.g. `styles.myClassName`) is not supported. There doesn't appear to be any PSI API hooks for achieving this. Instead, use `styles['my-class-name']` which also doesn't limit class names to camel-case.\n\nThe plugin assumes a one-to-one relationship between a React component and the require'd .css/.scss/.less file.\n\nPR's are welcome.\n\n## FAQ\n\n**Does this also work with .scss and .less files?**\n\nYes. It should work for all CSS dialects supported by the IntelliJ platform.\n\n**Which IDEs are compatible with the plugin?**\n\nThe plugin is compatible with version 163+ (2016.3 or newer) of IntelliJ IDEA, WebStorm, RubyMine, PhpStorm, and PyCharm. 2016.3 is the first official version that supports `:global`, `:local`, and `composes` used by CSS Modules.\n\nPyCharm CE is not supported since the plugin depends on two other plugins: NodeJS and JavaScript.\n\n**Where can I get the plugin?**\n\nThe plugin is available from the JetBrains Plugin Repository at https://plugins.jetbrains.com/plugin/9275\n\nTo install it, open \"Settings\", \"Plugins\", \"Browse repositories...\" and search for \"CSS Modules\".\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimkyndemeyer%2Freact-css-modules-intellij-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimkyndemeyer%2Freact-css-modules-intellij-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimkyndemeyer%2Freact-css-modules-intellij-plugin/lists"}