I am having a problem with the syntax highlighting for HTML (and plaintext) in Sublime Text 2, as it only grays out the lines as in the image.
我有一个问题,在崇高的文本2中突出显示HTML(和纯文本)的语法,因为它只是灰色的线在图像中。
Whenever I shift to Python, JavaScript, and other languages, the highlighting works fine. I am new to Sublime Text 2, so it is probably an easy answer, but I did not know how to formulate the issue without showing an image.
每当我转向Python、JavaScript和其他语言时,高亮显示都很有用。我对崇高的文本2很陌生,所以这可能是一个简单的答案,但我不知道如何表达问题而不展示图像。
2 个解决方案
#1
7
I dont't think it is a problem, it's just how the theme "All Hallow's Eve" works: You can change the this color inside this block: (Preferences->Browse Packages>Color Scheme - Default->All Hallow's Eve)
我不认为这是个问题,这只是主题“All Hallow's Eve”的工作原理:你可以在这个区块内改变这个颜色:(偏好->浏览包>配色方案-默认->所有Hallow的Eve)
<dict>
<key>name</key>
<string>Text base</string>
<key>scope</key>
<string>text</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#434242</string> #THIS IS GRAY COLOR YOU WANNA CHANGE.
<key>foreground</key>
<string>#FFFFFF</string>
</dict>
</dict>
#2
3
I found the problem; it seems like the color scheme "All Hallow's Eve" is not working very well on HTML, so I simply changed the color scheme.
我发现问题所在;看起来“All Hallow's Eve”的配色方案在HTML上的效果不是很好,所以我只是更改了配色方案。
#1
7
I dont't think it is a problem, it's just how the theme "All Hallow's Eve" works: You can change the this color inside this block: (Preferences->Browse Packages>Color Scheme - Default->All Hallow's Eve)
我不认为这是个问题,这只是主题“All Hallow's Eve”的工作原理:你可以在这个区块内改变这个颜色:(偏好->浏览包>配色方案-默认->所有Hallow的Eve)
<dict>
<key>name</key>
<string>Text base</string>
<key>scope</key>
<string>text</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#434242</string> #THIS IS GRAY COLOR YOU WANNA CHANGE.
<key>foreground</key>
<string>#FFFFFF</string>
</dict>
</dict>
#2
3
I found the problem; it seems like the color scheme "All Hallow's Eve" is not working very well on HTML, so I simply changed the color scheme.
我发现问题所在;看起来“All Hallow's Eve”的配色方案在HTML上的效果不是很好,所以我只是更改了配色方案。