如何在 Sublime Text2 中将注释设置为斜体字符串?

问题描述:

我想在 Preferences.sublime-settings 中添加一些新的配置,让我的 java 代码中的注释变成斜体,我应该添加什么配置?

I want to add some new configuration in Preferences.sublime-setings to make the comment in my java code to italic, what configuration should I add?

  1. 打开您正在使用的主题的 .tmtheme 文件:
    • 转到首选项">配色方案"并找到选中的那个.
    • 转到首选项">浏览包"并搜索该名称.
  • 搜索Comment
  • settings中,添加:

        <key>fontStyle</key> 
        <string>italic</string>