-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed
Labels
editor-sticky-scrollinfo-neededIssue requires more information from posterIssue requires more information from poster
Description
Type: Bug
"editor.stickyScroll.enabled": true
A long function declaration that Prettier formats to an argument per line is sticky on the ending parenthesis instead of the function name.
When scrolled partially looks like this:

When scrolled further looks like this:

Desired behavior is defaultChartOptions: function ( to be the stuck line when in the function body instead of ) {.
VS Code version: Code 1.72.2 (d045a5e, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i9-10920X CPU @ 3.50GHz (24 x 3504) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off 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_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 255.72GB (240.66GB free) |
| Process Argv | --crash-reporter-id b895199c-af53-4cf1-ac75-7663693fce16 |
| Screen Reader | no |
| VM | 0% |
Extensions (32)
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-css-formatter | aes | 1.0.2 |
| doxdocgen | csc | 1.4.0 |
| vscode-autohotkey-plus | cwe | 2.7.1 |
| vscode-eslint | dba | 2.2.6 |
| gitlens | eam | 13.0.2 |
| vscode-html-css | ecm | 1.13.1 |
| prettier-vscode | esb | 9.9.0 |
| flow-for-vscode | flo | 2.2.0 |
| better-cpp-syntax | jef | 1.16.1 |
| cmake-language-support-vscode | jos | 0.0.7 |
| vscode-dotnet-runtime | ms- | 1.5.0 |
| python | ms- | 2022.16.1 |
| vscode-pylance | ms- | 2022.10.20 |
| remote-containers | ms- | 0.255.4 |
| remote-ssh | ms- | 0.90.1 |
| remote-ssh-edit | ms- | 0.84.0 |
| remote-wsl | ms- | 0.72.0 |
| cmake-tools | ms- | 1.12.27 |
| cpptools | ms- | 1.12.4 |
| cpptools-extension-pack | ms- | 1.3.0 |
| veriloghdl | msh | 1.5.4 |
| material-icon-theme | PKi | 4.21.0 |
| awesome-vhdl | puo | 0.0.1 |
| vscode-yaml | red | 1.10.1 |
| LiveServer | rit | 5.7.9 |
| bash-beautify | sha | 0.1.1 |
| css-auto-prefix | spo | 0.1.7 |
| code-spell-checker | str | 2.10.1 |
| cython | tcw | 0.1.0 |
| cmake | twx | 0.0.17 |
| clang-format | xav | 1.9.0 |
| html-css-class-completion | Zig | 1.20.0 |
(1 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
2144e591:30553903
pyindex848cf:30577861
nodejswelcome1:30587005
fc301958:30573243
stereokai
Metadata
Metadata
Assignees
Labels
editor-sticky-scrollinfo-neededIssue requires more information from posterIssue requires more information from poster
