'Disable line wrap in Visual Studio Code integrated Terminal?
Solution 1:[1]
There is currently no such option, but it may be available in the future because of #74501
Solution 2:[2]
Completely disabling line wrapping for embedded terminals in VSCode is not possible because the shell running within the terminal window always breaks lines to its visible width.
As of VSCode 1.61 (Sep 2021) you can set a wider virtual width of the terminal window. This reduces the amount of line wrapping the underlying shell is doing and gives you a nice scrollbar within VSCode.
To enable this, enter Terminal: Set Fixed Dimensions
into VSCode's command palette.
More info at https://code.visualstudio.com/updates/v1_61#_fixed-dimensions.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | kanlukasz |
Solution 2 | Kevin Goslar |