Skip to content

PhpStorm plugin that allows the IDE to understand the concept of colors for PHP

License

Notifications You must be signed in to change notification settings

i582/nocolor-phpstorm

Repository files navigation

image

NoColor plugin for PhpStorm

PhpStorm plugin that allows the IDE to understand the concept of colors for PHP.

Features

  • Quick jump to the rule in the palette;
  • Autocomplete color names;
  • Color checks;
  • Rules checks;
  • Tips and checks associated with the special color remover.

About

The plugin provides various validations and also improves the development experience with color navigation.

Find out more about NoColor tool here.

You can also find this plugin on the official JetBrains plugins website.

Installation

  • Using IDE built-in plugin system:

    Preferences > Plugins > Marketplace > Search for "NoColor" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...

Features

  • Quick jump to the rule in the palette;

    image
  • Autocomplete color names;

    image
  • Color checks:

    • Undefined colors:

      image
    • Duplicated colors:

      image
    • Several colors in one @color tag:

      image
    • Not allowed 'transparent' color in @color tag:

      image
  • Rules checks:

    • Order:

      image
    • Structure:

      image
    • Not allowed 'transparent' color in rule:

      image
  • Tips and checks associated with the special color remover:

    • remover color description:

      image
    • Other colors with remover:

      image

License

This project is under the MIT License. See the LICENSE file for the full license text.