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.
Asked
Active
Viewed 50 times
1 Answers
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"
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