JavaEditor + java.awt.Color + Color preview
Hi,
I was just doing some custom color's in a java class using java.awt.Color eg. Color customColor = new Color(210, 5, 5); and suddenly in the java editor, a color preview image appeared in the editor!
I've search help and forums and can't find how I make this preview appear! I can get it randomly with variations of highlighting the code block, etc. but what are the keystrokes etc to get this preview to appear?
Thanks
请先登录再写评论。
Hello stlum9495,
Hold Ctrl and hover your mouse over the color value.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hi Dmitry,
Thanks for the reply.
I should have qualified I am using version 7.0.4
I can't get the preview to appear with CTRL.
I am having some luck with shift.
In the code block:
new Color(255, 255, 136);
If I put the cursor at the position of "n" in "new" and press SHIFT immediately after the preview appears. same if I put it after opening "("
Is that expected?
Thanks