简体   繁体   中英

Automatically opening completion window in Eclipse

我是Eclipse的新手,我想知道是否有可能在我键入(Visual Studio样式)时自动打开完成窗口,而不是单击Ctrl + Space

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 ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM