(Eclipse - OS X) How do you copy javadoc popups?

When I exit Windows, when I use Eclipse and mouse over a class / method / variable that has Javadoc, the Javadoc window appears (or, alternatively, you can press F2). Eclipse on Mac OS X 10.8.2 has the same behavior. However, where they differ, it is that in the windows I can select the content in the pop-up window and copy it (Ctrl + C), and then paste it somewhere. I cannot get this to work on Mac OS X 10.8.2. I tried the command key + C (which works everywhere), and I also tried Ctrl + C. There are no dice.

I use this often when setting a local variable to the value returned by the getter method. I can simply open Javadoc and copy the return type, and then paste it into the editor as a type for my new local variable. This saves a lot of time if the return type is a complex map type with common arguments.

It is also helpful to help colleagues to be able to copy / paste parts of the Javadoc to them through IM.

Is this not possible on Mac OS X 10.8.2? Is there any work?

Edit : Using Eclipse Juno SR 2

+5
source share
2 answers

If you select the class / method / variable you are interested in, at the bottom of the Eclipse window should be a list of tabs next to the console, one of which is called Javadoc.

, Javadoc , , , CMD-c, .

EDIT: Javadoc , a > > Javadoc

+1

, . . , - Eclipse. Javadoc, , .

+3

All Articles