0

How do I prevent Android Studio from formatting my comments and only my code? I've been trying to search a solution for this on Google and using the Find Action key, but I haven't been able to find a solution.

Tommy Saechao
  • 1,099
  • 4
  • 17
  • 28

1 Answers1

0

You may need to enable the preference first: In IntelliJ Preferences, under Code Style, General, Formatter Control there is a checkbox "Enable formatter markers in comments"These option you will see on android stdio

Now for more description you can see :- How to disable code formatting for some part of the code using comments?

Community
  • 1
  • 1
Shubham Sharma
  • 2,763
  • 5
  • 31
  • 46