Weird Java editor behaviour [message #956890] |
Wed, 24 October 2012 18:03  |
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,
Alan
|
|
|
|
|
Re: Weird Java editor behaviour [message #962732 is a reply to message #960275] |
Mon, 29 October 2012 05:29  |
Eclipse User |
|
|
|
On 27.10.2012 12:24, Alan DW wrote:
> @Thomas: Yes, that's probably the reason... Is there a way to re-map
> the "CTRL+Click" functionality to, for example, ALT+Click?
See Preferences > General > Editors > Text Editors > Hyperlinking
Dani
>
> Thanks,
>
>
> Alan
|
|
|
Powered by
FUDForum. Page generated in 0.05476 seconds