name-that-color-intellij-plugin icon indicating copy to clipboard operation
name-that-color-intellij-plugin copied to clipboard

Use name-that-color on existing color tags

Open ofermoshsaioff opened this issue 6 years ago • 5 comments

Great plugin! I'd love to have the ability to change existing color names into their "real" color names instead of the ones we currently use. Would be awesome!

ofermoshsaioff avatar Mar 06 '18 07:03 ofermoshsaioff

That's a great idea!

galex avatar Mar 06 '18 08:03 galex

Is this meant as a refactor thing? If it is then +1

Btw I love that page, so happy to have a plugin to automate my work :)

fmatosqg avatar Mar 13 '18 22:03 fmatosqg

@fmatosqg I think on this task I'd like to rename an existing color tag when the caret is on its name or on the color itself. Feel free to open a new issue and describe what you envision as refactor tool!

galex avatar Mar 14 '18 05:03 galex

After using a little bit I think that's exactly what I'd like it to do. Although I'd love it to pop up a confirmation dialog giving me the chance to edit the new name (I prefer camelCase).

Another nice thing would be replacing the new name in all the places where it's used.

fmatosqg avatar Mar 14 '18 05:03 fmatosqg

Yes, if the plugin renames a color it should definitely change the references to it too.

galex avatar Mar 14 '18 07:03 galex