由于经常在不同电脑写代码,编辑器颜色风格设置的比较随意,导致不同电脑不同颜色风格,多少有点不舒服。最近,索性整理了一下代码风格,感觉还不错,汇总一下,方便以后给新编辑器提供参考。
这里以python编辑器PyCharm为例,修改颜色风格流程:
File -> Settings -> Editor -> Colors & Fonts
在这里,强烈推荐一个颜色的素材库:
http://color-themes.com/?view=index
这里面有大量漂亮的素材可供选择,下载下来都是jar文件,支持JetBrain 公司出品的各类编辑器:
IntelliJ IDEA, PhpStorm, PyCharm, RubyMine, WebStorm and AppCode.
安装也比较简单:
Select «File» → «Import Setting» from the main menu and follow the instructions. After the IDE restarted go to the Preferences, expand «Editor» → «Colors and fonts» tab and choose the installed theme.
导出主题,可以勾选想要导出的配置:
File -> Export Settings
这是我自己的配置,方便使用:
http://static.ranshy.com/code/ranshy.jar
Leave a Reply