-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sticky Scroll showing a maximum of one line #5163
Comments
Thank you for reporting! Do you have The PowerShell language in vscode is a little unique in that it has a default textmate grammar that is built into vscode, even without having the PS extension installed. Once it loads, if you have semantic highlighting loaded, it might change the symbol state here. |
Edit: Workaround (or solution?): Changing the settings.json:
|
Interesting, thanks for the further investigation! I'm not aware of the effect of the sticky scroll models so will need to determine if this is expected behavior or not. |
So after investigation, THe setting is interesting because the default says outline provider is preferred, and only uses folding if outline is not avaliable, but there is no "outline provider" specifically in the LSP spec, just the symbols provider, so need to investigate more about how these interact. There is probably some tightening/alignment we can do to ensure the foldingProvider has the information from the outlineProvider so they are consistent, so that folding candidates are at least visible in the outline at a high level. |
Prerequisites
Summary
Sticky Scroll is limited to one line once the PowerShell extension's terminal is loaded. This is reproducable. Sticky Scroll is displaying multiple lines before the terminal has finished loading. This occurs in both 2025.3.0 and 2025.0.0 versions (and earlier, I don't remember it working before).
This is on a fresh install of VS Code and the extension, no settings have been changed.
PowerShell Version
Visual Studio Code Version
Extension Version
ms-vscode.powershell@2025.3.0
Steps to Reproduce
Visuals
Logs
No response
The text was updated successfully, but these errors were encountered: