The Intellij plugin that manages Android colors. It makes easy to browse colors.
Open "Color Manager" tool window. You will see all colors listed
From v1.1.0, this plugin support drag and drop feature.
- Select a file where you want to drop
- Drag the color panel
- Drop where you want to copy the color name/tag
If the selected file is not xml file, then the drop text format is R.color.color_name
If the selected file is xml, then the drop text format is @color/color_name
At this moment, there is no way to detect drop target file's type. So, if you select a xml file and drop text to a Java file, this plugin pastes @color/color_name
not R.color.color_name
Right click a color listed on the tool window
Click "Copy R.color.whatever_color_name" or "Copy @color/whatever_color_name"
You can also copy color name ("R.color.whatever_color_name" style) by cmd+c (or ctrl+c) after selecting the color panel
Same as Copy. Right click and click "Go to R.color.whatever_color_name"
Or just double click an item
Click "Edit R.color.whatever_color_name" and choose new color
Same as Copy and move. Right click and click "Delete R.color.whatever_color_name"
It will show confirmation dialog before deleting the color tag.
Just start typing after focusing tool window
The plugin let it finds them by typing a color name and a color code.
As default, this plugin filter library's color because there are a lot.
You can un-filter those by clicking "Filter" icon (It takes a few second to show all colors)
You can sort by color name by clicking sort icon
Use the IDE's plugin manager to install the latest version of the plugin.
Copyright 2016 Yoshinori Isogai
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.