Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何在 IDE 中设置各类关键字的颜色? #2

Open
cssmagic opened this issue Jan 21, 2015 · 0 comments
Open

如何在 IDE 中设置各类关键字的颜色? #2

cssmagic opened this issue Jan 21, 2015 · 0 comments
Labels

Comments

@cssmagic
Copy link
Owner

进入 IDE 的代码着色配置界面:PreferenceEditorColors & Fonts

General 子项中可以配置通用的着色选项:

  • 各类错误提示
  • 搜索结果提示
  • Todo 提示
  • ...

Language Defaults 子项中可以配置编程语言基本元素的着色选项:

  • 注释
  • 各种数据类型(字符串、数字等)
  • 各类符号
  • ...

Custom 子项中可以配置自定义语言的着色选项。

webstorm-pref

这一块是我们要关注的重头戏。因为 Jedi 的代码着色是通过 IDE 的自定义语言的功能来实现的,每种自定义语言可以设定四种关键字,而在此界面就可以为这四种关键字指定不同的颜色。(需要注意的是,所有自定义语言的颜色配置是共用的。)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant