An open API service indexing awesome lists of open source software.

https://github.com/i582/nocolor-phpstorm

PhpStorm plugin that allows the IDE to understand the concept of colors for PHP
https://github.com/i582/nocolor-phpstorm

idea nocolor phpstorm phpstorm-plugin plugin

Last synced: 27 days ago
JSON representation

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

Awesome Lists containing this project

README

        

image

# NoColor plugin for PhpStorm

PhpStorm plugin that allows the IDE to understand the [concept of colors](https://github.com/VKCOM/nocolor/blob/master/docs/introducing_colors.md) 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](https://github.com/VKCOM/nocolor).

You can also find this plugin on the official [JetBrains plugins](https://plugins.jetbrains.com/plugin/17054-nocolor) website.

## Installation

- Using IDE built-in plugin system:

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

- Manually:

Download the [latest release](https://github.com/i582/nocolor-phpstorm/releases/latest) 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](https://github.com/i582/nocolor-phpstorm/blob/master/LICENSE) file for the full license text.