防止 Eclipse 提出会更改特定文件的建议
有没有办法强制 Eclipse 不进行自动更正更改,从而更改我所在的当前文件?
使用场景: 我有一个自动生成 .java 文件的脚本,其中包含对未定义方法的引用,然后我使用 Ctrl+1 为其生成存根。然而,除了“创建方法...”之外,Eclipse 偶尔也会建议“更改为...”。有没有办法强制 Eclipse 永远不会对特定文件提出该建议?
Is there a way of forcing Eclipse not to come with auto-correct changes that would alter the current file I am in?
Usage scenario:
I have a script that automatically generates a .java file, which contains references to undefined methods, that I then use Ctrl+1 to generate stubs for. However, Eclipse also occasionally suggests "change to ..." in addition to "create method ...". Is there a way of forcing Eclipse to never make that suggestion for a particular file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论