Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set comment into italic strings in Sublime Text2?

Tags:

sublimetext2

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?

like image 676
Y.L. Avatar asked Feb 09 '23 18:02

Y.L.


1 Answers

  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>
like image 54
user193661 Avatar answered Feb 23 '23 03:02

user193661