Anna Underwood
Anna Underwood

Reputation: 201

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.

Upvotes: 20

Views: 13702

Answers (4)

Bhavin Solanki
Bhavin Solanki

Reputation: 510

Default is grey and green you can use green color which hightlight more than grey color.

Upvotes: 0

Jack Sparrow
Jack Sparrow

Reputation: 95

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.

enter image description here

Upvotes: 2

Amir Dora.
Amir Dora.

Reputation: 2717

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

*/

Upvotes: 5

quemeful
quemeful

Reputation: 9878

Android Studio > Preferences > Editor > Colors & Fonts

Uncheck "use inherited attributes" on the right, and it will tell you what to do.

screenshot

Upvotes: 27

Related Questions