'How do I change the comment colors in android studio?
I'm just trying to change the color of my comments so I can spot it faster. It's currently gray. I tried the settings but nothing that allows me to change the comment color.
Solution 1:[1]
Android Studio > Preferences > Editor > Colors & Fonts
Uncheck "use inherited attributes" on the right, and it will tell you what to do.
Solution 2:[2]
if you make two asterisk block comment, automatically android will turn that comment green. It's default doc comment and you don't have to change any settings.
/**
green comment
*/
Solution 3:[3]
In new android studio version ( Android Studio Arctic Fox | 2020.3.1 Patch 4 ) go to -
Settings -> Editor -> Color Scheme -> Language Default
here can you customize all codes color including- comments, classes, Number and etc.
Solution 4:[4]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | quemeful |
Solution 2 | Amir Dora. |
Solution 3 | Jack Sparrow |
Solution 4 | Bhavin Solanki |