How to get vertical line between matching curly braces?

Completed

Hi all,

I have nice and helping guiding lines inside braces pair in Visual Studio (and it is also could be toggled on and off here), and what I want is to have same or equal stuff in my Rider. Is there any way (settings, plugin?) to obtain it?

Example:

0
3 comments

I've spend like 1,5 hours digging in Rider settings and accidentally found the answer!

Those nice lines could be enabled in

Settings > Editor > General > Appearance > Show indent guides

Whoever searched for this, have fun! :D

2

o/ bless you good man !
though, this still won't make indent guides in function definition block or class declaration block, unless You type additional tab which is an overkill.

seems Rider have different concept for this: "Show method separators"
which renders horizontal line inbetween definitions (just like above inbetween our comments).
For me its kinda "verbose", even ugly :/ but atleast there'something ¯\_(ツ)_/¯

0

I was looking for this and with the AI Support Assistant found the following, at least in WebStorm:

Settings > Editor > Color Scheme > General, then in the list find Editor > Guides. Under guides there are two useful settings here (and one is an answer to the original question):

- Indent guide selected: the indentation guide when the cursor is at the start of an indented code block

- Matched brace guide: the indentation guide when the cursor is at a brace that has a match

These two override the color for the Indent guide. I now have the indent guide using the theme color (3b3b3b), the indent guide selected is af881a and the matched brace guide is 1e90ff (I like dark mode but with a bright colour scheme).

 

0

Please sign in to leave a comment.