Auto-completion configuration options [message #1726009] |
Tue, 08 March 2016 21:41  |
Eclipse User |
|
|
|
Hello, I'm new to this forum, but have been using Eclipse on and off for quite some time now. Currently using Mars 4.5.0.
I've been writing a lot in Python over the last few weeks, although I suspect that's not relevant, as it's the auto-completion feature I'm getting really frustrated with.
I really do appreciate how useful context-sensitive suggestions and auto-completion are particularly when editing code of course. So I'm not looking to disable the feature (unless I have to). But I think the default configuration in Eclipse is unhelpful - rather like Apple's efforts.
Is it possible to change the keys that interact with the suggestions boxes that appear? Mainly, I really want the return key to mean carriage return and only carriage return.
With my current settings (default I believe) if I were to open a new file (.py in this case) and looking only at my keyboard type:
x=100<CR>
y=x<CR>
z=x+y<CR>
I'd expect to see that text on the screen and for the cursor to be on line 4.
What I actually get is this:
x=100
y=xrangez=x+yield
And the cursor is at the end of line 2. IMHO that is just wrong.
When I reach the end of a line I shouldn't have to stop and think can I just press return, or do I need to press escape to cancel the suggestion box, or if there is a useful suggestion highlighted that I need to press return twice to get to the next line.
As I was typing this I wondered why I don't get frustrated writing VBA which I do quite lot of as well and that too has an auto-completion feature so I went and checked... It *seemed* like the VBA editor was only suggesting something when it was pretty sure it knew I had limited options, like suggesting datatypes after I'd typed "Dim x as ". And whilst the return key does select a highlighted suggestion it does also do a carriage return.
So maybe, for me, Eclipse is just being over-zealous in popping up suggestions when it really has no clue what I might be going to type.
I've looked through the extensive settings and of the ones I understand I can't see anything that would help.
Can anyone suggest alternative settings I could look at that might work better for me?
Cheers.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.29183 seconds