如何更改 Sublime Text 2/3 中匹配括号的样式? [英] How to change style of matched brackets in Sublime Text 2 / 3?

查看:68
本文介绍了如何更改 Sublime Text 2/3 中匹配括号的样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它只是在匹配的括号下划线,是否可以使其更有用,例如更改括号颜色或突出显示括号行?

解决方案

有插件BracketHighlighter

特点:

  • 可自定义突出显示括号 (),[],<>,{}
  • 可自定义突出显示标签(支持一元标签并支持自关闭/>(HTML5 即将推出))
  • 可自定义的引号突出显示
  • 有选择地禁用或启用标签、括号或引号的特定匹配
  • 根据语言选择性地将特定标签、括号或引号的匹配列入白名单或黑名单
  • 使用按需快捷方式时,在状态栏中显示匹配之间的行数和字符数
  • 用于将光标移动到括号内容的开头或结尾的快捷方式(如果当前不是多选,将专注于开头或结尾括号)
  • 选择所有括号内内容的快捷方式
  • 和其他人,请参阅 github 站点.

It's just underlining the matched brackets, Is it possible to make it more useful like changing brackets colour or highlighting the line of brackets?

解决方案

there is plugin BracketHighlighter

features:

  • Customizable highlighting of brackets (),[],<>,{}
  • Customizable highlighting of Tags (supports unary tags and supports self closing /> (HTML5 coming))
  • Customizable highlighting of quotes
  • Selectively disable or enable specific matching of tags, brackets, or quotes
  • Selectively whitelist or blacklist matching of specific tags, brackets, or quotes based on language
  • When using on demand shortcut, show line count and char count between match in the status bar
  • Shortcuts for moving cursor to beginning or end of bracketed content (will focus on beginning or end bracket if not currently multi-selecting)
  • Shortcut for selecting all of the bracketed content
  • and others, see the github site.

这篇关于如何更改 Sublime Text 2/3 中匹配括号的样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆