Android Studio - Inspect Code - Exclude generated files

前端 未结 4 1887
梦如初夏
梦如初夏 2021-02-20 03:24

Is there any way, how to exclude android generated files (or manually specify excluded folders), from Analyze -> Inspect Code ?

4条回答
  •  余生分开走
    2021-02-20 04:06

    I've found answer

    Excluded folders won't be taken in account for Code Analysis

    • Right-click on top-level element and go to Open Module Settings
    • There you have listed single modules, select correct module
    • In right column select folders to be excluded and either right click -> exclude or button exclude above the file tree
    • In left column remove all leftover references to excluded directories from other groups than Excluded Folders

    Excluding folders

提交回复
热议问题