익명 07:21

VSCode window cannot be moved when the title bar is not reachable

VSCode window cannot be moved when the title bar is not reachable

Usual Windows applications will open the "Windows menu" an upper-leftmost menu for resizing/moving/closing the window, by typing Alt+Space, which is a lifesaver when the title bar is not accessible.

VScode is using this keyboard shortcut to
preempting the availability of the Windows menu.

I work on a laptop at different locations with different external monitors resolutions and sizes, upon restoring the VSCode windows layout at another location the top Windows menu bar may be outside the reachable area.

Is there another way to move the vscode window when the title bar is unreachable ?



Top Answer/Comment:

Windows has a build-in failsafe. If part of the window is still visible on screen, just grab a corner to resize it. After the window was resized (even just by one pixel) it will detect that the window title bar is too far off screen to be grabbed, and it will reposition the window such that the title bar is on screen again.

I'm not entirely sure if you can resize from any side, or only the left side though.

Another option is to double-click on the bottom edge. This will resize the window to stretch top to bottom, but keep left and right as they are. This also moves the window back on screen.

상단 광고의 [X] 버튼을 누르면 내용이 보입니다