microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.02k stars 29.2k forks source link

Collapsible headers does not handle multi-line parameters #227961

Closed blakeVersigaWPE closed 1 month ago

blakeVersigaWPE commented 1 month ago

Type: Bug

When you have a function with parameters on multiple lines, for example function sendEntitlementPubSub( context, metaBlob, subscriptionReplacedBy, customerId, subscriptionExternalId, subscriptionId, transactionId ) { the collapsable breadcrumbs shows ){ instead of function sendEntitlementPubSub( when the current line is past the function definition.

VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z) OS version: Darwin arm64 23.6.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 2400)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|5, 4, 4| |Memory (System)|32.00GB (0.51GB free)| |Process Argv|--crash-reporter-id b074774e-4b83-4477-bea8-43e7d8e98fc2| |Screen Reader|no| |VM|0%|
Extensions (24) Extension|Author (truncated)|Version ---|---|--- vscode-eslint|dba|3.0.10 githistory|don|0.6.20 gitlens|eam|15.4.0 SuiteSnippets|eri|2020.2.0 prettier-vscode|esb|11.0.0 copilot|Git|1.229.0 copilot-chat|Git|0.20.0 vscode-pull-request-github|Git|0.96.0 todo-tree|Gru|0.0.226 yaml-plus-json|hil|1.12.2 handydandy-notebook|jak|0.1.4 rainbow-csv|mec|3.12.0 lintel|mfl|1.3.4 git-graph|mhu|1.30.0 vs-keybindings|ms-|0.2.1 vsliveshare|ms-|1.0.5936 netsuite-upload|nsu|1.2.4 git-config-user-profiles|onl|2.1.0 suitecloud-vscode-extension|Ora|2.0.0 postman-for-vscode|Pos|1.2.1 semanticdiff|sem|0.9.0 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 juxtacode|Yor|1.1.1
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 01bff139:31013167 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 2f103344:31071589 impr_priority:31102340 nativerepl2:31104044 refactort:31108082 pythonrstrctxt:31112756 flightc:31119335 wkspc-onlycs-t:31132770 wkspc-ranged-c:31125598 fje88620:31121564 ```
gjsjohnmurray commented 1 month ago

The feature is called 'sticky scroll'.

What language is your code?

Please also paste a screenshot.

/gifPlease

vs-code-engineering[bot] commented 1 month ago

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.

Happy coding!

blakeVersigaWPE commented 1 month ago

Language is javascript [image: image.png]

[image: image.png]

On Mon, Sep 9, 2024 at 5:56 AM John Murray @.***> wrote:

The feature is called 'sticky scroll'.

What language is your code?

Please also paste a screenshot.

/gifPlease

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/227961#issuecomment-2337794763, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARFVN6DRZ3FDEGCECJSDJU3ZVV5FBAVCNFSM6AAAAABN4HH3P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZXG44TINZWGM . You are receiving this because you authored the thread.Message ID: @.***>

-- Blake Versiga

Business Title

Enterprisewide Programmer Analyst, Principal

E: @. @.> M: 214-755-1772

WP Engine, Inc. 504 Lavaca Street, Suite 1000 Austin, Texas 78701

wpengine.com | twitter https://twitter.com/wpengine | careers http://wpengine-careers.com/ | torquemag.io | velocitize.com

gjsjohnmurray commented 1 month ago

Images cannot be emailed into GithHub. Please paste/attach them at the website.

vs-code-engineering[bot] commented 1 month ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!