> Code Cl...">

Function "Clear code ..." for Android Studio v2.2.2

In Android Studio v2.2.2, the Clear Code feature is available Analyze.

Analyze >> Code Cleanup 

What does this option do with code?

Please explain in more detail.

+4
source share
1 answer

When you clear your code using Android Studio, it starts checking the rules that define the code.

For a list of specific rules, check β€œFile β†’ Settings β†’ Editor β†’ Scan. Here you can find all the rules, for example,

  • unused variables
  • unused import
  • Download problems
  • Code style issues,
  • Problems with Java Beans, etc.

Android Studio , . .

. Android Studio , .

+9

Source: https://habr.com/ru/post/1663203/


All Articles