Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 911
Anna Underwood Avatar asked May 17 '16 16:05

Anna Underwood


People also ask

How do I change the text color on my Android?

Open your device's Settings app . Text and display. Select Color correction. Turn on Use color correction.

How do I change the color of my Android studio?

To change the background of the editor goto File, Settings, Editor, Colors & Fonts and select General. You'll see an item called "Default text". On the right of the window you will see a checkbox for background. Click in the color window and choose whichever color you prefer.

How do you make a comment on Android?

alt + c then alt + l (holding alt ) for line comment.


2 Answers

Android Studio > Preferences > Editor > Colors & Fonts

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

screenshot

like image 89
quemeful Avatar answered Oct 02 '22 18:10

quemeful


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

*/
like image 43
Amir Dora. Avatar answered Oct 02 '22 19:10

Amir Dora.