Sticky Scroll doesn't handle multi-line function headers

Open
#317,702 6 comments 30 reactions 1 assignee View on GitHub

@aiday-mar is already working on this.

Since May 21, 2026.

Assessment

This issue has not been assessed yet.

Description

editor-sticky-scroll feature-request

Type: Bug

When the declaration part of the function is formatted to use more than one line, it's only showing the last line, which is not very helpful at all.

Not sure if it matters, but I'm using it with Python.

Ideally, it should show a version that is collapsed to fit on one line (abbreviated if necessary)

Image Image

VS Code version: Code 1.115.0 (Universal) (41dd792b5e652393e7787322889ed5fdc58bd75b, 2026-04-07T22:04:57Z)
OS version: Darwin arm64 24.6.0
Modes:

System Info
Item Value
CPUs Apple M3 Pro (12 x 2400)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M3 Pro, Version 15.7.4 (Build 24G517))], DRIVER_VENDOR=Apple, DRIVER_VERSION=15.7.4 ACTIVE
Machine model name: Mac
Machine model version: 15.6
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 5, 5, 6
Memory (System) 18.00GB (0.20GB free)
Process Argv --crash-reporter-id 1c323abb-fce8-49c7-88d4-1d442096be10
Screen Reader no
VM 0%
Extensions: none
Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.