Visual Studio Code - Notebook output cell line spacing - visual-studio-code

How can I control the line spacing in Visual Studio Code output cells? See example. The output cells have lines spaced with about 0.5 line spacing, but the terminal cells (and also code) have smaller line spacing.

Related

Adding lines to parenthesis in Xcode as others code editors

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.

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

JupyterLab: how to display line numbers in **output**

Background
As discussed in this question, line numbers can be activated in code cells in a JupyterLab notebook. It shows line numbers in the code cells only. The output cells do not have line numbers.
Question
How to display line numbers in the output cell?

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.

VS Code - Is there a way you can make the Minimap bigger?

I have enabled the MiniMap in Visual Studio Code (VSCODE) with the following code:
"editor.minimap.enabled": true
But can I make it bigger? It's so small at the right.
thanks Alex there is a new setting from VSCode release 1.40.0 onwards:
"editor.minimap.scale": 2
before VSCode 1.40.0:
there is no zoom-level for the minimap.
But i think the following settings is useful as it renders it schematically which looks much nicer than with true! Maybe this improves it! ;-)
"editor.minimap.renderCharacters": false
In the settings, you can set the width with
// Limit the width of the minimap to render at most a certain number of columns
"editor.minimap.maxColumn": 120
From vscode release 1.40.0
"editor.minimap.scale": 2,
There are two new minimap settings which are in v1.43:
Editor › Minimap: Size
values: proportional, fit and fill
From https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_43.md#minimap-size:
When set to proportional (the default), each line gets a certain
amount of vertical space in the minimap, depending on
editor.minimap.scale. For example, on a high-DPI monitor, with a
configured scale of 1 (the default), each line gets 4 px in the
minimap. So for a file of 100 lines, the height of the lines rendered
in the minimap is 400 px, and for a file of 1000 lines, it is 4000 px.
That means that for large files, the minimap will also scroll, as the
current file is scrolled.
When set to fit, the height of the minimap
is limited to never be larger than the editor height. So if a file has
many lines, they will be sampled and only a subset will be rendered in
the minimap, such that there is no need for the minimap to scroll.
When set to fill, the height of the minimap is always the editor
height. For large files, this is also achieved by sampling lines, but
for small files, this is achieved by reserving more vertical space for
each line (stretching the lines).
Here the size is changed from proportional to fit, and then in a smaller file, from fit to fill:
Not yet, but the pull request is on its way https://github.com/microsoft/vscode/pull/82265