Visual Studio Code keeps Autosizing my Text Lines - visual-studio-code

Visual Studio Code keeps scrunching and separating my code in the right window into multiple lines, if the left pane is too wide. It used to never be like that. How can I change this setting, so VS Code does not auto window size the right panel?

Related

With Visual Studio Code, any way to pin border between project window and source window?

I'm often recording visual studio code sessions to video files. I often find that after closing and re-opening VS Code that the vertical slider between the project window (where my files are listed in a tree), and the source window (where my code is) has moved to some default position which is not what I want.
My question is, is there a way in VS Code to always have VS Code start with the slide in a given position. That is, like what is in the picture below.

How to hide the options such as save,undo, in Visual Studio Code

I want these options not to be shown in the top right corner of the title bar as shown in the image below(highlighted)
How to hide these options such as run code, save, saves the file, word wrap, etc in Visual Studio Code

Screen is broken when another window is displayed on top of vscode

While using Visual Studio Code, the screen is broken as shown in the following gif.
It is not visible in the gif file, but is being dragged with the another window open.
The same thing did not happen in other programs (e.g., visual studio community, source tree, etc.).
It also happened on other monitors connected to internal graphics cards.
When scrolling in vscode, the same symptoms occur in the parts that are not scrolling (such as the left menu section).
Updating the graphics card driver(geforce) fixed the problem
go to your vs code shortcut properties and add at the end of the path "--disable-gpu" example like these: "C:\Users\your-user\AppData\Local\Programs\Microsoft VS Code\Code.exe" --disable-gpu

Visual Studio Code tab width

Is there any way to set the maximum width for the tab in visual studio code. I can specify this in visual studio 2015 when I install productivity power tool, but I want to know if this is possible with visual studio code.
The only thing I was able to find while doing some quick research on VS Code User Guide was that in the Settings editor you can change the tabWidth either to shrink or to stay large enough to view the file name.
// Controls the sizing of editor tabs.
// - fit: Always keep tabs large enough to show the full editor label.
// - shrink: Allow tabs to get smaller when the available space is not enough to show all tabs at once.
"workbench.editor.tabSizing": "fit",
In VS Code you can access the editor's tab size settings by pressing Command+Comma (Mac) or Ctrl+Comma (PC), and typing tabsizing. You can edit settings for regular and pinned tabs.
Currently there are two options for sizing editor tabs: fit and shrink.
A handy shortcut is that the tab area recognizes a mouse scroll-wheel.
If you have Tab Sizing set to fit, and you have several tabs opened so that they scroll off the screen, hover your mouse pointer over a tab then scroll. This will bring more tabs into view.
It would be nice if Microsoft provided a means to stack tabs in Visual Studio Code.
2022 Update: VS Code now has a workbench setting named Wrap Tabs. To edit this press Command+Comma (Mac) or Ctrl+Comma (PC), type Wrap Tabs and check that box.
As lenooh pointed out, to have smaller tabs (what I came here for), better use
"workbench.editor.tabSizing": "shrink",

How can you enable the selection margin in Visual Studio Code (VSCode)

Is there a way to enable the selection margin in Visual Studio Code (VSCode)? By "selection margin" I mean the margin to the left of the text that allows you to select entire lines by clicking and dragging with the mouse.
I'm aware of triple-click. That's not what I'm after. Visual Studio (proper) has a so-called "selection margin", and I was hoping Visual Studio Code would have the same thing but it seems like it may not be there, or I just haven't figured out how to get it.
I also see a breakpoint margin, and the code folding area (or some dead-space if you disable the code folding). But that area doesn't work like a selection margin either.
You must show the line numbers through settings.json file:
// Controls visibility of line numbers
"editor.lineNumbers": true,
Then, when hovering that area, you'll see the inverted mouse to select the entire line, as you wish: