是否可以更改项目面板的字体大小?
我可以看到在哪里可以更改编辑器字体,但项目面板字体似乎大得不合理。覆盖默认字体只会更改上方路径栏和一些其他元素。
I can see where it's possible to change editor fonts, but the project panel font seems unreasonably large. Overriding the default fonts only changes the upper path bar and some other elements.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(10)
我最近也遇到了这个问题;突然间,项目面板中的字体比其他面板中的字体大。但是,我在 IntelliJ 的设置中发现了一个隐藏选项,它禁用了这种奇怪的行为:
~\.IdeaIC2018.1\config\options\ide.general.xml
false
这就是文件现在对我来说的样子:
不过,我在 GUI 中没有找到此选项。
I recently had the problem as well; suddenly the font in the project panel was larger than the others. However, I found a hidden option in the settings of IntelliJ which disables this odd behavior:
~\.IdeaIC2018.1\config\options\ide.general.xml
bigger.font.in.project.view
tofalse
This is what the file now looks like for me:
I did not found this option in the GUI though.
使用新方案名称保存默认方案,然后它将允许您更改字体。
Save Default scheme with a new scheme name then it will allow you to change font.
设置->外观行为->外观->使用自定义字体->设置字体大小
Settings->Appearance & Behavior->Appearance->Use Custom font-> Set font size
如今,较新版本的 JetBrain IDE 有一个专门的选项来增加项目视图的字体大小。
Nowadays newer version of JetBrain's IDEs have a dedicated option to just increase the font size of the project view.
我的解决方法是将主题从 GTK+ 切换到 IntelliJ,我确认 Darcula 也可以工作。在我改用专有的 NVIDIA 视频驱动程序后,字体就崩溃了。在运行 Android Studio 的 Manjaro Linux 上。
The fix for me was to switch the Theme from GTK+ to IntelliJ, I confirm that Darcula works as well. The fonts broke for me following a switch to proprietary NVIDIA video drivers. On Manjaro Linux running Android Studio.
我知道得太晚了,但您可以使用键盘上的以下快捷键
ctrl + shift + '<'
来缩小字体ctrl + shift + '>'
使字体变大I know super late, but you can use the following shortcuts on your keyboard
ctrl + shift + '<'
to make font smallerctrl + shift + '>'
to make font larger在计算机的显卡设置中提高显示器的分辨率。一切都会变得更小。然后您可以在编辑器中增加字体大小来进行补偿。当然,这可能会使其他程序的控制功能看起来太小,但如果您说它太大,则您可能使用的是低分辨率(低于 1268x1024)。再说一次,也许你有很棒的视力,一切对你来说都看起来很大,因为你可以很好地看到小事情。
Increase the resolution of your monitor in your computer's video card settings. Everything will get smaller. Then you can increase the size of your font in the editor to compensate. Of course, that might make other programs control features seem too small, but if you're saying it is too big, you're probably are using a low resolution (below 1268x1024). Then again maybe you have awesome vision and everything looks big to you because you can see small things really well.
这在 Ubuntu 中的 IntelliJ 14.0.3 Community Edition 中对我有用
:设置 |外观&行为 |外观
然后勾选:
在那里您可以选择所有内容的字体和大小:菜单、项目面板、编辑器等...
对我来说,在Linux上,设置为15就可以了(默认是14),然后单独调整编辑器字体:
Editor |通用
This worked for me in IntelliJ 14.0.3 Community Edition in Ubuntu:
File | Settings | Appearance & Behavior | Appearance
And then tick on:
There you can choose the font and the size of everything: menus, Project panel, Editor, etc...
For me, on Linux, it is fine to set it to 15 (default is 14), and then adjust the Editor font alone under:
Editor | General
UPDATE-2016:它是可能的,请参阅这个
它不是可能,不幸的是,请观看/投票该错误。
更新:在更高版本中,
设置
(首选项
)下的全局字体/大小设置|Appearance
还控制项目视图工具窗口字体,但仍然无法在不更改其他 UI 元素的字体/大小的情况下单独控制项目视图字体。UPDATE-2016: it is possible, see this
It's not possible, unfortunately, please watch/vote for the bug.
UPDATE: In the later versions global font/size setting under
Settings
(Preferences
) |Appearance
also controls the project view tool window font, but there is still no way to control the project view font individually, without changing the font/size of the other UI elements.这可以通过文件 | 完成。设置 |外貌。
修改姓名&根据需要调整字体标题下的字段大小。
您可能需要重新启动 IDE 才能生效。
This can done from File | Settings | Appearance.
Modify Name & Size fields under the heading Font as per need.
You might need to restart the IDE for this to take effect.