Python spyder 更改编辑器默认字体/比例/缩放

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/45349040/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 16:57:00  来源:igfitidea点击:

spyder change editor default font/scale/zoom

pythonidespyder

提问by Dmitriy Fialkovskiy

Is there an option in Spyderto set/change a default script window (editor) scale?

是否有Spyder设置/更改默认脚本窗口(编辑器)比例的选项?

I always have to adjust the script display for each script when I open Spyderwith ctrl + mouse wheeland it annoys me a lil bit.

当我打开Spyderctrl + mouse wheel,我总是必须调整每个脚本的脚本显示,这让我有点恼火。

I searched it Spyderpreferencesand in google, but didn't find anything helpful.

Spyderpreferences在谷歌搜索过它,但没有找到任何有用的东西。

回答by Dmitriy Fialkovskiy

Seems that I didn't inspect Preferencesattentively enough initially. Right answer is:

看来我一开始检查的Preferences不够仔细。正确答案是:

Preferences->Text and margin font style->Size

Preferences-> Text and margin font style->Size

EDIT:updating answer according to comments.

编辑:根据评论更新答案。

In the latest versions of Spyder IDE path to changing font size is:

在最新版本的 Spyder IDE 中,更改字体大小的路径是:

Tools → Preferences → General → Appearance → Fonts

回答by Freeman

Right clicking in the text window there are menus Zoom in, Zoom outand Zoom reset

在文本窗口中右键单击有菜单Zoom inZoom out并且Zoom reset