修改Sublime文本中的Monokai配色方案

时间:2014-10-23 10:42:46

标签: sublimetext3 color-scheme

如何修改Monokai配色方案以突出显示@ \[math\]中的大括号和\(math\)中的Sublime Text中的乳胶?

1 个答案:

答案 0 :(得分:5)

我意识到这是一个古老的问题;但是:

如果您突出显示大括号,请按:

ctrl + shift + alt + p(适用于Windows / Linux)或
^ +⇧+ P(对于OSX)

括号的范围将显示在屏幕底部的状态栏中。例如:如果我在Python中突出显示// In Swift func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) { let cell = collectionView.cellForItemAtIndexPath(indexPath) as! UICollectionViewCell cell.backgroundColor = UIColor.magentaColor() } func collectionView(collectionView: UICollectionView, didDeselectItemAtIndexPath indexPath: NSIndexPath) { let cell = collectionView.cellForItemAtIndexPath(indexPath) as! UICollectionViewCell cell.backgroundColor = UIColor.cyanColor() } 并使用该命令,则相关范围为self。这可以在范围列表的末尾找到。

ie:variable.language.python - >拿最后一个元素。

从这里,您可以使用Package Resource Viewer打开位于Color Scheme - Default中的Monokai.tmTheme文件,并使用以下内容修改它:

scope.python variable.language.python

保存.tmTheme文件,现在应将大括号修改为您选择的任何颜色。

参考文献:

How to change default code snippets in Sublime Text 3?

相关问题