A1trdX
A1trdX

Reputation: 345

How to hide suggestions box in eclipse when removing text?

I'm working in Eclipse IDE and often use auto-suggestion ability. But the problem is my computer lagging, when I trying to remove or change some text to get more proper suggestions. So difficult to understand my question, I will give you an example:

  1. I'm typing something like this: ArrayList
  2. Clicking Ctrl+Space or type . to get suggestions.
  3. Then I want to change or correct my text, for example I want not ArrayList but Array, so I click ← Backspace to remove last symbols.

When removing unnecessary symbols, suggestions are updating automaticaly after every symbol removed, causing lags and slowering my work. In some cases I remove more chars I want and that is really annoying me. Can I change behavior and force Eclipse to hide suggestions when I'm not typing but removing text?

Upvotes: 1

Views: 677

Answers (1)

howlger
howlger

Reputation: 34285

There is no preference to automatically close the content assist on ← Backspace (see Window > Preferences: Java > Editor > Content Assist).

But you can press Esc every time you want to cancel code completion (alias content assist).

Note that without code completion no import statements are added automatically.

Upvotes: 1

Related Questions