gpt4 book ai didi

sublimetext - 如何更改括号从下划线突出显示?

转载 作者:行者123 更新时间:2023-12-04 03:15:47 27 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





How to change style of matched brackets in Sublime Text 2 / 3?

(5 个回答)


5年前关闭。




现在打开和关闭括号 { }突出显示为下划线 _
我不喜欢

但我找不到,有没有办法像大多数其他编辑器一样将其更改为粗体或/和背景更改?

最佳答案

看看BracketHighlighter插入。

编辑
为您的 Packages/User/bh_core.sublime-settings 试试这个

{
// Define region highlight styles
"bracket_styles": {
// "default" and "unmatched" styles are special
// styles. If they are not defined here,
// they will be generated internally with
// internal defaults.

// "default" style defines attributes that
// will be used for any style that does not
// explicitly define that attribute. So if
// a style does not define a color, it will
// use the color from the "default" style.
"default": {
"icon": "dot",
// BH1's original default color for reference
// "color": "entity.name.class",
"color": "brackethighlighter.default",
"style": "underline"
},

// This particular style is used to highlight
// unmatched bracekt pairs. It is a special
// style.
"unmatched": {
"icon": "question",
// "color": "brackethighlighter.unmatched",
"style": "outline"
},
// User defined region styles
"curly": {
"icon": "curly_bracket",
// "color": "brackethighlighter.curly",
"style": "full"
},
"round": {
"icon": "round_bracket",
// "color": "brackethighlighter.round",
"style": "full"
},
"square": {
"icon": "square_bracket",
// "color": "brackethighlighter.square",
"style": "full"
},
"angle": {
"icon": "angle_bracket",
// "color": "brackethighlighter.angle",
"style": "full"
},
"tag": {
"icon": "tag",
// "color": "brackethighlighter.tag",
"style": "outline"
},
"single_quote": {
"icon": "single_quote",
// "color": "brackethighlighter.quote",
"style": "full"
},
"double_quote": {
"icon": "double_quote",
// "color": "brackethighlighter.quote",
"style": "full"
},
"regex": {
"icon": "regex",
// "color": "brackethighlighter.quote",
"style": "full"
}
}
}

关于sublimetext - 如何更改括号从下划线突出显示?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21902131/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com