-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Test: terminal scroll bar annotations #145599
Copy link
Copy link
Closed
Labels
Milestone
Description
Refs: #144595
- macOS @rebornix
- linux @roblourens
- windows @rzhao271
Complexity: 4
Authors: @meganrogge, @Tyriar
The terminal now features shell integration with the opt-in setting terminal.integrated.shellIntegration.enabled.
Since a shell script needs to be written on a shell-by-shell basis, only the following are currently supported:
- Windows
- pwsh (6+, not "Windows PowerShell")
- Linux/macOS
- pwsh
- bash
- zsh
Last iteration, we added command decorations decorations (codicons) to the left gutter of the terminal in order to bring awareness to some of the new insights and capabilities shell integration provides.
This iteration, we added scroll bar annotations corresponding to the command decorations.
Verify that:
- each annotation's color matches the command decoration associated with it
- for errors, the annotation appears to the right
- for success/default, the annotation appears to the left
- the color is updated when the associated
workbench.colorCustomizationis changed
Some things to try:
- run
clearand similar commands - the annotations should disappear - scroll - make sure they show and hide appropriately
- anything else you can think of
- change the renderer type via
terminal.integrated.gpuAcceleration - open an alt buffer - for ex,
vim, verify the annotations aren't shown there - close an alt buffer -
esc :wqand verify the annotations come back
Known issues:
Reactions are currently unavailable