Open madelaney opened 3 years ago
I had the same issue with Sublime Text 4 and Typescript: Doesnt worked the default config so I had to add to my RainbowBracket.sublime-settings (plugin user settings), something like this:
New version working with SublimeText 4 126 and RainbowBrackets v4.2.0! Follow the RainbowBrackets configuration template (example below featuring Monokai colors):
{
"debug":false,
"brackets":{
"pairs":{
"(":")",
"[":"]",
"{":"}"
},
"filetypes":{
"default":{
"opening":[
"(",
"[",
"{"
],
"ignored_scopes":[
"comment",
"string"
]
},
"ts":{
"opening":[
"(",
"[",
"{"
],
"ignored_scopes":[
"comment",
"string"
],
"extensions":[
"ts"
]
}
}
}
}
Before custom config: After custom config:
Old configuration template
{
"debug":false,
"brackets":{
"pairs":{
"(":")",
"[":"]",
"{":"}"
},
"filetypes":{
"default":{
"opening":[
"(",
"[",
"{"
],
"ignored_scopes":[
"comment",
"string"
]
},
"ts":{
"opening":[
"(",
"[",
"{"
],
"ignored_scopes":[
"comment",
"string"
],
"extensions":[
"ts"
]
}
}
}
}
it occurs to me too, i just paste the setting codes on the preference-setting, and try to save the change, but the sublime tells me something wrong from the first line of these codes~
it occurs to me too, i just paste the setting codes on the preference-setting, and try to save the change, but the sublime tells me something wrong from the first line of these codes~
Check the settings format file. Maybe a trailing comma is breaking the JSON format or something like that.
PD: Updated configuration example
All,
I just installed this plugin for Sublime Text 4, and I cannot seem to get brackets brackets to show up. I tried with three different languages (Terraform, Groovy, and Rust) all of them don't seem to be working.
Here is an example of Terraform & Rust code without rainbow brackets.