在Android Studio的新logcat中,如何将选项卡列宽度增加到35以上?

问题描述 投票:0回答:1

来自 Android Studio Dolphin, 引入了新的 logcat,它的视图很酷。

但是,很难在日志中看到标签,因为它限制了标签列的宽度。

无法在设置中增加标签列宽度,因此我无法将值设置为超过 35。

android-studio
1个回答
0
投票

我找到了强力增加的方法。

1。找到Android Studio logcat设置文件

(例如 Windows、Android Studio Hedgehog)

C:\Users\XXXX\AppData\Roaming\Google\AndroidStudio2023.1\options\androidLogcatFormattingOptions.xml)

请参阅 Android Developer 来查找您操作系统的设置文件位置 https://developer.android.com/studio/intro/studio-config

2。查找制表符宽度值

...,'tagFormat':{'maxLength':35,...

3.更改并保存文件

...,'tagFormat':{'maxLength':70,...

4。重启Android Studio

© www.soinside.com 2019 - 2024. All rights reserved.