fully qualified name like XValueNodeImpl@37284 when copying values from Inspect Window

If I try to inspect the value of any variable in the variables view while debugging using Zend Debugger, copying using Control + C generates something like com.intellij.xdebugger.impl.ui.tree.nodes.XValueNodeImpl@164289f while using Alt + W (Copy in Emacs keyboard layout) copies the right value, why is happening this distinction between key strokes?

5 comments
Comment actions Permalink

http://www.jetbrains.com/idea/webhelp/cutting-copying-and-pasting.html

There are 3 different Copy actions in IDEA: Copy, Copy Path, Copy Reference, see the link above for details.

0
Comment actions Permalink

Hello Jaime,  Cannot reproduce that. What is your OS? Could you provide any screenshot?  Thank you for feedback!

0
Comment actions Permalink

103.156
OS: Windows XP
Keyboard Layout

1. Open Phpstorm

2.  Go to settings and change and switch keymap to Emacs layout

3. Debug some script using zend debugger

4. go to variables view, focus on a variable, press Ctrl + C

5. go to external notepad, paste

6. go to variables view, focus on a variable, press Alt + W (Copy in emacs layout Main Menu > Edit > Copy action)

7. go to external notepad, paste



You will see a difference in the output, is that the expected behaviour?

0
Comment actions Permalink

Actually Alt+W is processed by PhpStorm and copies proper value to the clipboard. Ctrl+C is processed by Java which isn't aware of the keymap selected in PhpStorm, and it copies to the clipboard some internal representation. Ideally Ctrl+C should not copy anything if you've selected Emacs keymap. If current behaviour bothers you feel free to create an issue in our bug tracker.

0
Comment actions Permalink

As you said:  Ideally Ctrl+C should not copy anything if you've selected Emacs keymap.
And I think you just described very well the problem happening there, Ctrl + C over tree nodes copies the object references fqdn's.

0

Please sign in to leave a comment.