I wonder why you consider it a bug. The action works as designed - it compares the clipboard with the editor selection.
It would be nice if the action would compare with the entire file if nothing is selected. For some reason I often compare files using "Compare with Clipboard", and this would save me a Ctrl+A.
I wonder why you consider it a bug. The action works as designed - it compares the clipboard with the editor selection.
Well, ok, so strictly speaking it's not-a-bug because it works as designed. Still IMHO it is a usability bug: - When I first noticed the context menu item I had no idea why it was disabled (and it seems I am not the only one). - The status bar text (on mouse over menu item) is much too hard to discover. - The text reads "Compare with Clipboard" not "Compare Selection with Clipboard" so it gives the impression that it applies to the file. - It appears just below items that do apply to the whole file (Local History, Subversion). To me this is probably the strongest source of misunderstanding. - Other items are frequently enabled, even when they are not currently applicable and give an error message when invoked in an inappropriate context (e.g. refactor->rename). Those at least gives a clear indication why it doesn't work (as opposed to just being inaccessible). So this is an inconsistency in Idea's UI. - Besides it would be very Idea-like to make a feature work in any context it can sensibly work instead of forcing the user to do unnecessary extra steps.
IIRC, you need to select some text to be compared with the clipboard data.
Tom
True. A known bug for 1 1/2 years:
http://www.jetbrains.net/jira/browse/IDEABKL-1990
Hello Stephen,
>> IIRC, you need to select some text to be compared with the clipboard
>> data.
>>
SK> True. A known bug for 1 1/2 years:
SK> http://www.jetbrains.net/jira/browse/IDEABKL-1990
I wonder why you consider it a bug. The action works as designed - it compares
the clipboard with the editor selection.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Dmitry Jemerov (JetBrains) wrote:
>>> IIRC, you need to select some text to be compared with the clipboard
>>> data.
>>>
It would be nice if the action would compare with the entire file if
nothing is selected. For some reason I often compare files using
"Compare with Clipboard", and this would save me a Ctrl+A.
Bas
Dmitry Jemerov (JetBrains) wrote:
Well, ok, so strictly speaking it's not-a-bug because it works as designed.
Still IMHO it is a usability bug:
- When I first noticed the context menu item I had no idea why it was disabled
(and it seems I am not the only one).
- The status bar text (on mouse over menu item) is much too hard to discover.
- The text reads "Compare with Clipboard" not "Compare Selection with Clipboard"
so it gives the impression that it applies to the file.
- It appears just below items that do apply to the whole file (Local History,
Subversion).
To me this is probably the strongest source of misunderstanding.
- Other items are frequently enabled, even when they are not currently applicable
and give an error message when invoked in an inappropriate context
(e.g. refactor->rename). Those at least gives a clear indication why it
doesn't work (as opposed to just being inaccessible).
So this is an inconsistency in Idea's UI.
- Besides it would be very Idea-like to make a feature work in any context
it can sensibly work instead of forcing the user to do unnecessary extra steps.
Dmitry Jemerov (JetBrains) wrote:
Other actions are designed to work without any selection (ctrl-c, etc.), so it's
reasonable to consider this a (design) bug as well ;)
Sascha
So wording should be change to "Compare selection with clipboard"
or make it work without any selection (preferred).
Thanks to all your replies as I now could use this function :)
Dmitry Jemerov (JetBrains) schrieb:
>>> IIRC, you need to select some text to be compared with the clipboard
>>> data.
>>>