Peter Boughton
Peter Boughton

Reputation: 112230

How do I disable Eclipse's find/search regex hint drop-down?

When searching (across files) or finding (within files), if you have regular expressions enabled and enter a certain character (backslash, opening paren, etc) it displays a drop-down box with hints in.

I don't need these hints; they get in the way of the rest of the dialog, and the stupid drop-down hijacks my home/end keys.

However, I can't find any preferences for disabling it - is there some hidden way to turn them off which I'm not aware of?

Alternatively, if I need to modify the source and rebuild, what files do I need to edit, and can I do it in a way that doesn't prevent upgrading?

Upvotes: 3

Views: 401

Answers (1)

VonC
VonC

Reputation: 1328712

(Eclipse Galileo 3.5)

I didn't find any obvious way to prevent the "content assistance" in that search field.

So what I usually do is: prepare the search expression in any editor I want, and copy-paste it in said search field.
A bit cumbersome, but it works nicely enough for me.

The goal: avoid this kind of situation.

alt text


(Eclipse Helios 3.6)

Note: according to bug 259592, the auto-completion is disabled by default in Eclipse Helios 3.6.

ctrl+space is available. A lightbulb is there to remind you that completion help is possible in this field.

alt text

Upvotes: 1

Related Questions