eclipse中无法自动提示代码模板的解决办法

eclipse中本身提供了一些很方便的代码补全模板,如输入sysout后 按 Alt+/ eclipse就会自动帮你生成System.out.println();,这些模板的查看位置在window->Preferences->Java->Editor->Templates中,列出了一 些常用的代码模板。如果在使用中无法完成代码补全功能,可以对eclipse进行一下设置 window->Preferences->Java->Editor->Content Assist->Advanced 中把 Template Proposals选中就可以了

猜你喜欢

转载自lvmlvy.iteye.com/blog/1963809