使用Spirng MVC框架,經常需要使用到註解如@RequestMapping,但是在敲代碼的時候卻無法自動補全,下面介紹解決方法:
Windows->Preferences->Java->Editor->Content Assist->Advanced下把Java Proposals勾上
可以看到這裏是配置Alt+/快捷鍵的,勾上√ 後,點擊【Apply and Close】即可。
使用Spirng MVC框架,經常需要使用到註解如@RequestMapping,但是在敲代碼的時候卻無法自動補全,下面介紹解決方法:
Windows->Preferences->Java->Editor->Content Assist->Advanced下把Java Proposals勾上
可以看到這裏是配置Alt+/快捷鍵的,勾上√ 後,點擊【Apply and Close】即可。