|Java Content Assist automatically inserts nonsens [message #1748468]
||Wed, 23 November 2016 12:08
| Rene Dekker
Registered: July 2009
I like content assist, as a quick way to help me remember method/variable names, etc. But when using the content assist of Eclipse, it frequently inserts garbage when pressing space or '.'. For example, when typing 'i' followed by space, it automatically inserts 'isCorridor' (a method of my class), even though a local variable 'i' is also defined. I have tried different settings for Content Assist, but they do not seem to do anything, or switch off content assist altogether.|
How do I prevent this behaviour?
I would like the content assist popup to come up, but it only to insert anything when I press TAB (or RETURN), and then only the common prefix of all suggestions. That, together with the option to select a specific suggestion from the list would work satisfactory.
Ideally, the common prefix of all the suggestions would be inserted already (in a different color) in the text, such that you type over it, and it would be accepted when pressing TAB.
If it makes a difference, I am using Eclipse 2.0.1 for Java on MacOS.
Powered by FUDForum
. Page generated in 0.02246 seconds