Weird Java editor behaviour [message #1798037] |
Sun, 11 November 2018 14:58 |
Eclipse User |
|
|
|
Hello everyone,
I'm using Eclipse for years now to develop Java applications. I don't know why, but the following has happened to me several times within the java source editor:
1) Select some source code text with your mouse
2) Press CTRL+C (or CTRL+X doesn't matter)
3) Select another position in the text
4) Press CTRL+V
... and the really strange thing is that upon pressing CTRL+V, the editor jumps to the declaration (!) of the type of the variable closest to the insert position and inserts the text THERE. I don't know if that is a bug or just my stupidity, but I'm *absolutely* sure that "go to definition" is mapped to the F3-Key on my keyboard, which is impossible to touch by accident. Happened to me on Gallileo, Helios, Indigo and now Juno, both on Windows and Linux, on different machines.
Does someone has any explanation what causes this unwanted "go to definition" behaviour when copy-pasting text around (and more importantly: how to fix this)? Maybe it's some hot key sequence that I don't know or mouse gesture or... you name it ^_^'
Thanks,
[Updated on: Mon, 19 November 2018 21:25] by Moderator Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04218 seconds