Larry
Larry

Reputation: 1765

Eclipse : how to insert content assist proposals?

Just a little annoyance :

Context :

The content assist is set up and work most of the time. But I just tried to write document.getElementById;

Problem :

The problem is I cannot select one of the proposals for document.get: when I select an entry,the popup disappears and nothing is inserted in text.

I noticed that it is preceded by a green dot. Other proposals with a blue triangle are inserted normally.

Any hint why I cannot make it work ?

Thanks,

UPDATE :

Eclipse 3.8 debian

Upvotes: 0

Views: 664

Answers (2)

Larry
Larry

Reputation: 1765

It sorts out that the culprit was the option "guess filled functions argument". It messed up everything. Now I'm back to work (as expected).

This feature is disabled by default, but if, like me, you set it up and forgot about it, here is how to disable it :

Windows -> Javascript -> Editor -> content assist -> guess filled function argument

It should be disabled.

Upvotes: 1

indivisible
indivisible

Reputation: 5012

I've found that on sometimes the assist pop-ups can be finicky. Pop-ups can be in either selected or unselected states. If the pop-up is in an unselected state clicking the actions sometimes does not either work or the option can be incomplete. Try testing and making sure that the pop-up is selected before you choose an option. (The pop-up border should change and you may get a scroll bar to indicate the difference.

Upvotes: 0

Related Questions