copy fully qualified class name

does this feature exist?

For writing emails etc. I often need to quote a specific class.
Then I always find me copying the package first, then the classname.

Is there a way to put both at once into the clipboard?


Thanks

8 comments

IIRC, there is a plug-in, which does it.

0

Another little IDEA secret. Now I can get rid of another plugin.

"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:14672872.1134657404528.JavaMail.itn@is.intellij.net...

CtrlAltShift+C - copy reference



0

thanks!

maybe sometimes dots would be nice instead of / ;)

0

Depends on where you copy to :)
- Copy reference (Ctrl-Alt-Shift-C) uses dots (fully qualified name)
- Copy reference to IDEA editor magically inserts necessary imports etc.
- you can even press Ctrl-C in the popup menus (Ctrl-N etc.) and then
insert the reference. Nice if searching for symbols.
- Copy path (Ctrl-Shift-C) copies the path
... surely more

Michael Damberger schrieb:

thanks!

maybe sometimes dots would be nice instead of / ;)


0

Ctrl-Alt-Shift-C uses /  forward slash for me.  How can I get the dots instead?

2

Ctrl-Alt-Shift-C shows a popup with "Cannot perform refactoring", still, copy reference should be smart enough to induct that it's java class so it should be dot separated not slash.

0

Hello,

What action is mapped for "Ctrl+Alt+Shift+C" in your keymap? "Copy reference" uses dots on my machine.

0

Please sign in to leave a comment.