SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Features and/or Improvements => Topic started by: rowbearto on April 01, 2015, 06:44:35 PM

Title: Draw a vertical line between matching braces
Post by: rowbearto on April 01, 2015, 06:44:35 PM
Notepad++ is able to draw a vertical line between matching braces, as shown in the below screenshot. It is very helpful.

It would be great if SE could also do this.
Title: Re: Draw a vertical line between matching braces
Post by: WilliamLeara on May 07, 2015, 06:19:19 AM
I'd like brace indentation guidelines --  faint dotted lines that match up vertically between each open/close brace.  VisualStudio, Notepad++, and UltraEdit all have this.  It's the only thing I miss in SlickEdit!
Title: Re: Draw a vertical line between matching braces
Post by: Dennis on November 22, 2016, 12:54:37 AM
You might want to try enabling the Selective-Display bracketing that was added in SlickEdit 2015.

    Tools > Options > Appearance > General > Selective Display

    Document > C/C++ Options > View > Create file outline > Statement level.

We plan to do the indentation guides more dynamically in a future release, but this works quite well at the moment.
Title: Re: Draw a vertical line between matching braces
Post by: rowbearto on November 24, 2016, 12:00:58 AM
Thanks Dennis. I tried this and it is certainly an improvement. But I think it would be nicer if the vertical lines would be shown in the same column as the vertical braces instead of stacking them up to the left of the screen (or give the option to choose where to put the vertical lines).
Title: Re: Draw a vertical line between matching braces
Post by: davehohl on April 03, 2017, 10:31:27 PM
I agree with rowbearto. It would look much better if the lines were in the same column as the braces.
Title: Re: Draw a vertical line between matching braces
Post by: rowbearto on December 12, 2021, 10:15:14 PM
Just a reminder about this feature request. It would be very handy. I see this feature in multiple other IDEs.
Title: Re: Draw a vertical line between matching braces
Post by: jwiede on December 26, 2021, 05:19:46 PM
+1 another vote for "inline" vertical lines showing brace scope (not just gutter lines).

Title: Re: Draw a vertical line between matching braces
Post by: Graeme on December 26, 2021, 09:39:45 PM
How about just color coding the background of the curly braces like HighlightParens does for parentheses.  Easier to spot than tracking vertical lines and works better when the range of lines is not all visible on the screen.

What does "selective display line color" do?  For me it doesn't change the color of the vertical lines.
Title: Re: Draw a vertical line between matching braces
Post by: rowbearto on January 02, 2022, 03:42:50 PM
I'd prefer the vertical lines. Especially when the scope is too big to see on the screen and the matching curly braces are off screen.
Title: Re: Draw a vertical line between matching braces
Post by: Graeme on January 03, 2022, 12:31:12 AM
oh, ok, how about both colored vertical lines and colored background and a configuration option to select which. 

Also if the range of the block means it can't all be shown on one screen then a command to hide / unhide lines in the middle of the block  - or maybe a command that progressively hides/unhides more and more lines.
Title: Re: Draw a vertical line between matching braces
Post by: mako on April 27, 2022, 06:47:39 PM
Also if the range of the block means it can't all be shown on one screen then a command to hide / unhide lines in the middle of the block  - or maybe a command that progressively hides/unhides more and more lines.
The command hide-code-block will collapse the block that the cursor is in.


I think having an option to draw the vertical line connecting block start and end at the indentation level of the surrounding block would be much more useful than the current behavior of stacking them all up as far left as possible. As it is now, because my C++ code uses multi-level deep namespaces, the vertical lines are more of a distraction than an aid.