Adding lines to parenthesis in Xcode as others code editors - swift

how can I add lines to my code on Xcode as other code editors like the image below?

how can I add lines to my code on Xcode as other code editors like the image below?
You can't, because Xcode doesn't render code that way. However, those vertical lines are often used to indicate which lines will be collapsed or folded, and Xcode does support code folding:
The vertical gray bars next just to the right of the line numbers are Xcode's way of showing how code is nested. If you place the cursor over one of those bars, Xcode highlights the beginning and ending braces. Clicking on a bar will fold the corresponding block down to a single line with ... between the braces. This is similar to what the vertical indentation lines do in some other editors.

Related

Miscoloured lines in rule-based layer styling in QGIS

I'm styling a vector layer of roads and have noticed that a small subset of lines appear to be going 'rogue' and ignoring their line colour styling. They still obey the line stroke and width style however but insist on being yellow instead of the desired colour.
I've added a separate rule for one of them and it definitely 'catches' the correct line segment and restyles it in every way EXCEPT for the colour which stubbornly remains yellow.
Can anyone provide me with any clues as to what is going on here?
That line (or lines) are "selected" - You have one of the selection tools active and have clicked on the line. See the manual for more details, you need to click on the clear selection tool
to remove it.

How do you edit the vertical line that line breaks the code in vs code?

I tried setting it in preferences, disabling word wrap, changing word wrap column, trying alt z, but the line is always there and forces the code to wrap into 1/3 of the available space which makes long code hard to read

Add left space/margin/padding in VS Code editor window between line numbers and code

I would love to have some space between the line numbers and the first intendation/code in the VS Code editor window:
I just want to indent the code in the editor without actually adding whitespace in the code.
I tried "editor.glyphMargin", but this will only increase the space on the left of the line numbers, not between the line numbers and the code.
I'm also aware of the "Centered Layout" view, but this also decreases the width of e. g. the tabs for the file selection.
Is there a setting I'm missing or do I need a plugin/custom CSS?
You can try this --
"editor.lineDecorationsWidth": 25,
This increases the space on the right side of the numbers. I haven't seen anything that increases the padding on the other side of the gutter nearest your code.
Opinion --
Ideally, there would be a editor.padding.left like there is a editor.padding.top, but I haven't seen this yet.

Eclipse how to change color of edited text

I can't figure out where in Eclipse I can make the edit change to show a different color on the left side for a line that has been edited/changed (before saving the file).
This are is right behind the line numbers...when I make a line edit this small rectangle behind the line number changes now to light gray and I want a different color!
Thanks...
If you enable line numbers the lines you did modify will be marked with a different color: right click on the margin at the left of the editor window and select "Show line numbers"

Rectangular selection visual glitch

When I start a rectangular selection (C-x SPS), firstly, a thin line appears at the side of the rectangle which shifts lines to the right.
Is there a way to make rectangular selection seamless?
The thin line is put "on purpose" to visually show where is the empty rectangle. We could make it optional (in which case the 0-width rectangles would simply not be displayed). Please use M-x report-emacs-bug since that's where this discussion should take place.