1. 每次输入都自动提示

点击 Eclipse,使其成为第一响应者,preferences->Java->Editor->Content Assist
再右下角 Auto activation triggers for Java 里面改为

.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
这样每次输入上面字母都会自动提示了。

你还可以修改下 Auto activation delay, 修改一下提示的延迟。

 

2. 用 alt+/ 手动控制自动提示(推荐)

点击 Eclipse,使其成为第一响应者,preferences->General->Keys找到Content Assist
首先 Remove Binding(移除绑定),然后再 Binding(按下 Alt+/)
When 中选 Editing Text 就可以,OK
现在在写代码的时候按下 Alt+/ 就会有自动提示了。

 

参考链接:Mac系统下Eclipse代码联想功能(代码助手,代码提示)快捷键

相关文章:

  • 2021-11-23
  • 2021-10-27
  • 2021-07-17
  • 2021-05-21
  • 2021-04-15
  • 2021-09-10
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2021-08-08
  • 2021-12-09
  • 2022-01-10
  • 2021-12-15
  • 2021-11-29
  • 2021-07-12
相关资源
相似解决方案