How to customize the border color of the bracket scope for C++ in Rider

已回答
0

Anna Falevskaya Rider has this border natively for C++. No plug-ins are used, but the color cannot be changed.

0

Jasonz, please clarify what option you used to enable the border.

0

I don’t know, I was using C# and didn’t have this until I opened the C++ project

0

There is no such feature by default:

Please go to File | Settings | Plugins, use the Disable All Downloaded Plugins action, and restart Rider:

Does the border disappear after that? If so, then it's provided by a downloaded plugin (i.e., it's not a built-in feature).

0

I disabled all plugins and restarted and still got this.

I opened Godot instead of the console application, maybe it has something to do with this

 

0

Hello Jasonz,

What a theme and colorscheme do you use? Would you mind sharing Rider logs and IDE settings, please?

  • Invoke Help | Collect Logs and Diagnostic Data;
  • Invoke File | Manage IDE Settings | Export Settings;
  • Share two archives generated.

Have a nice day!

0

Now I see, apologies for the confusion. You seem used ReSharper earlier. This border is configured from ReSharper:(Highlight with: Outline)

Rider can use this setting when it is enabled.

The setting is written to .dotsettings file. Likelt it is in the solution-level file, or in the global dotsettings. See documentation for more details about layers.

Answering your question, changing the color of this border isn't supported.

Should you desire to disable it, find this entry in .dotsettings file and remove: <s:String x:Key="/Default/Environment/Editor/MatchingBraceHighlighting/Style/@EntryValue">OUTLINE</s:String>

Hope that helps.

1

请先登录再写评论。