Eclipse 编译器错误/警告首选项
我一直想知道是否存在诸如最佳编译器错误/警告配置之类的东西来“强制”您的代码不易出现错误。 我知道很多人根据自己的需要调整这些配置。但是,必须有一套“完整”的首选项,就像 Linux 中的 VIM 编辑器一样。
有谁知道一套好的偏好或在哪里可以找到一套?
I've been wondering if there is such a thing as an optimal compiler error/warning configuration to "force" your code to be less bug prone.
I know many people tweak those configurations for their needs. But, there has to be a "complete" set of preferences like the one for VIM editor in Linux.
Does anyone know a good set of preferences or where to find one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有很多 Eclipse 插件可以检查您的代码。我不知道你用什么语言开发,但对于 Java,这里有一些我知道的插件:
我不知道推荐的偏好设置,如果这就是您正在寻找的,我想您可以忽略这个答案。
There are quite a few Eclipse plugins that check your code. I don't know what language you develop in but for Java here are a few plugins I know of:
I don't know of a recommended set of preferences, if that's what you are looking for I guess you can ignore this answer.