当前位置:   article > 正文

IntelliJ IDEA 4 新特性 之 On-the-Fly Code Analysis(动态代码分析)_on-the-fly code analysis怎么用

on-the-fly code analysis怎么用

Intelligent error highlighting(智能突出显示错误)

All common syntax errors, as well as all other errors that would be detected during compilation, are highlighted in the source code so you do not need to compile your code in order to find all your mistakes. Each error is highlighted in the editor and has the corresponding red link on the right gutter area for easy navigation to the erroneous places, which is especially useful when working with large files.

所有常见的语法错误以及其他一些可以被发现的编辑错误,都会在源代码里被突出显示。这意味着,你不用编译程序就可以发现你所有的错误。错误突出会用红色的波浪下划线标示,你可以轻易的找到它,这个功能在大的源文件编辑时尤为突出。


JavaDoc error highlighting(JavaDoc错误突出)

IDEA knows general javadoc rules, such as structure and syntax, and will detect any common inconsistencies found in your javadoc comments, e.g. wrong parameter references, return attributes in the field or void method comments, etc.
Having found an unknown javadoc tag, IDEA will suggests that you add this tag to the known tags list, so that you never get an error or warning indications about it.

IDEA晓得一般的JavaDoc一些关于结构和语法的规则,而且会发现一些在你的JavaDoc中相矛盾的地方,比如,不一致的参数申明,返回局部变量或没有返回值方法的注释等等。当发现一个未知的JavaDoc Tag 时,IDEA会提醒你将这个Tag加入到已知Tag列表中,这样就再也看不到关于这个Tag的错误和警告提示了。

<
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/75805
推荐阅读
相关标签
  

闽ICP备14008679号