Skip to content

Feature request: 'smart' scroll-lock in DEBUG console #10486

Closed

Description

  • VSCode Version:
    Version 1.4.0
    Commit 6276dcb
    Date 2016-08-04T16:49:32.489Z
    Shell 0.37.6
    Renderer 49.0.2623.75
    Node 5.10.0
  • OS Version: Ubunt 12.04

The debug console automatically scrolls to the end of the output when new output appears. This can be very annoying if both of these are true:

a) the app being debugged is printing something regularly
b) you are scrolling up trying to read something that was already scrolled out of view

Basically, it is impossible to read output already out of view because the view just keep snapping back to the bottom.

The way this works in Linux terminal is that the 'scroll to new output' behavior is automatically disabled when I scroll up. Conversely, it also gets auto-enabled when I scroll back down to the bottom.

In other words if I am already scrolled so that I'm looking at the logs 'tail' then the view keeps the tail scrolled into view as new output appears. But if I'm not currently looking at the tail, then it doesn't auto-scroll.

This is exactly how it should work I think. If that's too hard to implement, then at least give the user some kind of button to toggle scroll-lock on / off.

PS: I observed the annoying scrolling behavior in DEBUG console, but it really applies to all consoles (e.g. 'build' task console with 'watching' behavior).

Activity

  1. added
    feature-request
    debug
    on Aug 22, 2016
  2. locked and limited conversation to collaborators on Nov 18, 2017
  3. added a commit that references this issue on Sep 6, 2026
    5cc5a59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debugfeature-request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions