anton-rudeshko / CSSReorder

:warning: This plugin is not maintained and may not work in modern IntelliJ IDE's. Reorder CSS properties at your needs. Right now plugin in very early dev stage, be patient and stay tuned for updates.
http://plugins.jetbrains.com/plugin?pr=&pluginId=7164
MIT License
60 stars 4 forks source link

CSSReorder

About

Very early version, use on your own risk. Stay tuned for updates.

Sorting CSS properties in predefined order. Consider also using node.js/npm version: csscomb.js

Disclaimer

Requires IntelliJ platform version ≥ 13.

Formerly known as CSSComb but was renamed to avoid people confusion. This plugin is NOT supported by CSSComb organization and have no shared codebase. CSSComb author is not responsible for any bugs. This is only my initiative to implement original CSSComb features as native to IDEA platform.

Based on platform provided rearrangement.

Installation

Install from IntelliJ IDEA plugin repositories or download manually here.

Usage

Should be invoked using Code → Rearrange action on CSS files. This action also can be invoked on code reformatting action by checking corresponding option (Rearrange entries) in Reformat code dialog.

Contribution

Feel free to report bugs, request features and contribute.

How to Run Tests

  1. Install desired product (PHPStorm, WebStorm, IntelliJ IDEA, etc).
  2. Download sources from IntelliJ Community.
  3. Checkout required tag.
  4. Create new SDK and point it into installed instance.
  5. Attach sources from Community.
  6. Plugin should fully compile by now.
  7. Fix hardcoded path.
  8. ... something else
  9. If getting error about TestCase class is not found try using IDEA SDK

Useful links: