4

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?

2
  • You need to edit the theme file
    – user193661
    Nov 3, 2015 at 4:16
  • yeah,I just don't know what configuration to add to get the comment italic
    – Y.L.
    Nov 12, 2015 at 2:23

1 Answer 1

8
  1. Open the .tmtheme file of the theme you're using:
    • Go to Preferences > Color Scheme and find the checked one.
    • Go to Preferences > Browse Packages and search for that name.
  2. Add italics to the comment attributes:
    • Search for <string>Comment</string>
    • Inside <key>settings</key><dict>, add:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.