Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
302 views
in Technique[技术] by (71.8m points)

java - Automatically opening completion window in Eclipse

I am new to Eclipse and I want to know if it's possible to have the completion window open up automatically while I type (Visual Studio style) and not by clicking Ctrl + Space?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

It is possible. You can simply write: .abcdefghijklmnopqrstuvwxyz in Auto activation triggers for Java field, under Preferences > Java > Editor > Content Assist.

While writing Java code, after the dot . the window opens automatically after a configurable amount of time (default is 200 ms.)

In general, what you can do is add an auto activation trigger, for example _, so when you want the windows to popup, you type and delete that character (althought I don't think that's better than CTRL + SPACE).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...