Intellij Idea find all deprecated usages in the project

核能气质少年 提交于 2021-01-21 12:10:41

问题


I upgrade a language level in IntelliJ Idea in a quite big project and I would like to find all deprecated method usages left - I look for all the striketrough occurrences. I have found a similar question for PhpStorm where is suggested an approach:

  • CodeRun Inspection by Name... → Enter inspection name: deprecated

This is not available in the IntelliJ Idea IDE. I work with 2018.3.3 version. Is there a comfortable way to search for all the occurrences?


回答1:


The action you are looking for is in

  • Analyze -> Run Inspection by Name

The inspection "name" is still deprecated, however you will then need to chose a specific inspection in the drop down (e.g. "Deprecated API usage" for Java OR for PHP)



来源:https://stackoverflow.com/questions/55237880/intellij-idea-find-all-deprecated-usages-in-the-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!