VS Code borders wrongly detected with "custom" Title Bar Style - visual-studio-code

I have VS Code installed using official deb packages on PopOS 22.04 (Gnome, Ubuntu derivative).
The mouse cursor annoying goes into resize mode only inside the VS Code window, not on the edge like it should. This is only present when using "Title Bar Style: custom" in settings.
See here how much inside the window cursor must go in before it changes into resize mode
System well behaving window for comparison
Tried using flatpak installation - same result.
Is there a setting I can tweak or is it a bug?

Related

How to revert editor window zoom to normal size in Visual Studio Code

I am working in Visual Studio Code. I was copying something when I hit the wrong shortcut key (not sure which one) and the editor window zoomed out (to about half the size). See image below.
Note that this is not the View > appearance > zoom setting at work as the whole program/window is not zoomed in or out. Either way, I selected to reset to default zoom and it did not fix the issue. Rather, ONLY the editor window is zoomed out.
Does anyone have any idea how to fix this?
It looks like the editor.action.fontZoomOut command was run. Bring up the command palette (ctrl+shift+p) and type "font zoom reset" to find the command to revert.

In VS Code, how do I bring the terminal up to the code editor section (without resizing the terminal)? "Terminal editors"

After getting more comfortable with awslogs, I am wondering if there's a way to actually open up or bring a terminal to the code editor view. For example, here's what I see in my iTerm2 app:
I don't really use iterm2 too much if I have to do some editing of files, but having this inside of VS Code in a tab would be really nice. Just would allow me to make changes to the Dockerfile and monitor the progress of the build from AWS.
Here's where I would like it to go:
I understand that this isn't really a "terminal" spot per se since it's typically at the bottom, but I was just curious to see if there was a way to do it without affecting the terminal on the bottom. In some rare cases it would be nice to attach to a tmux session from the code editor window so I can flip between that and code.
In the Insiders build now, and so presumably will be in v1.58, is the ability to put a terminal into an editor like you ask. You can also drag a terminal into the editor area to crop it there!
There are these commands:
Terminal: MoveTerminal into Editor Group
Terminal: Create Terminal Editor
workbench.action.terminal.moveToEditorInstance

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

VS Code's documentation/intellisense popup disappears on mouse over

I am having a problem scrolling through the pop up box after hovering over a variable. It just disappears. I want to be able to scroll through it.
I am on Windows 10 x64 using Visual Studio Code 1.41.1 with Python Extension
Set editor.hover.sticky to true.
Via settings.json:
"editor.hover.sticky": true
Via Settings UI:
As a result of Keep hover visible when the mouse is getting closer to it, in my testing in the Insiders Build v1.72 this is much better. It should be in Stable v1.72 early October, 2022.
From the 1.72 Release Notes
Improved hover
The editor hover used to be quite aggressive in hiding itself,
especially when the mouse was going over an empty area of the editor.
This would make it very difficult to reach some of the actions shown
in the hover. Now, the hover will stay visible as long as the mouse is
moving towards it. The setting "editor.hover.sticky": false will
continue to work as before:
[The Editor > Hover: Sticky setting isn't the real problem, the problem is that the hover disappears before you even get the mouse to it.]

Moving the panel in VS Code

Is it possible to move the panel/terminal in VS Code to the side of the screen instead of the default bottom? Like if I was doing split screen, but instead of code in the right window, it was the terminal?
Not as of VScode 1.14. We are tracking this feature request here
It doesn't appear to be. There are no documented settings that allow you to do this. The split view editor can be swapped between horizontal and vertical with ⌘+Option+1 on macOS or Shift+Alt+1 on Windows but that doesn't apply to the panel window.
Update:
Support was added in version 1.18 (October 2017)