Skip to content

Test: terminal scroll bar annotations  #145599

@meganrogge

Description

@meganrogge

Refs: #144595

Complexity: 4

Authors: @meganrogge, @Tyriar

Create Issue


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.colorCustomization is changed

Some things to try:

  • run clear and 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 :wq and verify the annotations come back

Known issues:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions