according to this link github colored logcat I am looking for any solution how to use it in android studio/intellij. Is there in android studio any option to modify calling adb logcat
?
Here is the example how it works.
-
could you change these colours in Terminal? My Terminal is having completely other (boring) colours in comparing with this screenshot :(– EwoksNov 15, 2016 at 11:58
-
Another color scheme can be found here: stackoverflow.com/a/39993868/619673– deadfishMay 10, 2017 at 12:39
4 Answers
You can customize colors at Preferences – Editor – Color Scheme – Android Logcat
.
Here is Darcula theme, suggested by Matouš Skála:
Darcula colors:
Debug : 6897BB
Info : 6A8759
Warn : BBB529
Error : FF6B68
Assert : 9876AA
Only show logcat from selected process
is supported by default feature at AndroidStudio. If you are not satisfied with current customizations you need to continue to use your favorite shell with JakeWharton srcipt as for now.
-
9this little details increase productivity so much, google should add this detail as a default.– eliocsSep 11, 2014 at 10:57
-
2Here are the colors from the middle screenshot: assert #AE92B0 error #F8837F warn #C6C246 info #759769 debug #8FB8D0– DefueraApr 9, 2015 at 20:09
-
58Colours from bottom screenshot - Debug=#54C1E9, Info=#8CD10D, Warn=#FAC848, Error=#F95C5A, Assert=#B87BD5. Note that if you want to keep the rest of your IDE with a white background you should modify a light (e.g. Default) theme and set the background for the Android Logcat settings (Background=#393939). Jun 26, 2015 at 9:57
-
1Very helpful. For Intellij IDEA,go to File->Settings->Editor->Colors & Fonts->Android Logcat.– nyxeeOct 30, 2016 at 20:25
-
9Requested as new default in Android Issue Tracker issuetracker.google.com/issues/37898663– JacklMay 2, 2017 at 17:12
As of Android Studio 1.1.0 the Preferences
menu was not visible in the menu bar (Atleast in Ubuntu). So I am posting a new answer that might help others:
Goto File
❯ Settings
or press Ctrl+Alt+S this will open the Settings dialog (see screenshot)
Now under IDE Settings
navigate to Editor
❯Colors & Fonts
❯Android Logcat
you can customize the colors of your choice.
NOTE: make sure you un-check the Inherit Attributes From:
checkbox in order to edit the scheme.
If you already use Solarized Dark elsewhere, try these with Darcula:
Verbose 657B83
Debug 93A1A1
Info 22AAAA
Warning B58900
Error CB4B16
Assert 6C71C4
You can download this files filesCustomAndroidStudio and copy in
Mac: /Users/.../Library/Preferences/AndroidStudioXX.XX/ Windows: C:\Users....AndroidStudioXX.XX\config\
Then go to logcat in settings and choose the file.