概述
步骤1
1.1 自己创建cfg文件
在路径为:C:Users<用户名>.idlerc文件夹目录下创建config-highlight.cfg文件。
如果找不到.idlerc目录,可以使用everything软件搜索关键字找到该目录。
打开cmd,进入到.idlerc文件夹,写入config-highlight.cfg文件:
dir>config-highlight.cfg
打开新建的config-highlight.cfg文件,输入以下代码:
[Obsidian]
definition-foreground = #678CB1
error-foreground = #FF0000
string-background = #293134
keyword-foreground = #93C763
normal-foreground = #E0E2E4
comment-background = #293134
hit-foreground = #E0E2E4
builtin-background = #293134
stdout-foreground = #678CB1
cursor-foreground = #E0E2E4
break-background = #293134
comment-foreground = #66747B
hilite-background = #2F393C
hilite-foreground = #E0E2E4
definition-background = #293134
stderr-background = #293134
hit-background = #000000
console-foreground = #E0E2E4
normal-background = #293134
builtin-foreground = #E0E2E4
stdout-background = #293134
console-background = #293134
stderr-foreground = #FB0000
keyword-background = #293134
string-foreground = #EC7600
break-foreground = #E0E2E4
error-background = #293134
[tango]
definition-foreground = #fce94f
error-foreground = #fa8072
string-background = #2e3436
keyword-foreground = #8cc4ff
normal-foreground = #ffffff
comment-background = #2e3436
hit-foreground = #ffffff
break-foreground = #000000
builtin-background = #2e3436
stdout-foreground = #eeeeec
cursor-foreground = #fce94f
hit-background = #2e3436
comment-foreground = #73d216
hilite-background = #edd400
definition-background = #2e3436
stderr-background = #2e3436
break-background = #2e3436
console-foreground = #87ceeb
normal-background = #2e3436
builtin-foreground = #ad7fa8
stdout-background = #2e3436
console-background = #2e3436
stderr-foreground = #ff3e40
keyword-background = #2e3436
string-foreground = #e9b96e
hilite-foreground = #2e3436
error-background = #2e3436
保存退出,跳到步骤2,设置主题
拷贝cfg文件
- 下载config-highlight.cfg文件
- 链接:http://pan.baidu.com/s/1i3HBbLV 密码:120x
- 跳到步骤2,设置主题
步骤2 设置主题
Python自带的IDLE配色:打开IDLE -> option -> configure IDLE
最后
以上就是大力水池为你收集整理的IDLE设置主题步骤1拷贝cfg文件步骤2 设置主题的全部内容,希望文章能够帮你解决IDLE设置主题步骤1拷贝cfg文件步骤2 设置主题所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复