-
Notifications
You must be signed in to change notification settings - Fork 511
Script outline doesn't show correct indentation anymore #4783
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
Comments
That is correct, I have a work-in-progress fix for it here PowerShell/PowerShellEditorServices#2084 |
Hi @andyleejordan thank you so much for working on this bug! I saw the status of PowerShell/PowerShellEditorServices#2084 is now merged in main, does that mean that this fix is already present in the latest version of vscode? From which version ? Because I just downloaded the latest version (see below) and the bug still exists there😿
Or maybe I am just being to impatient.... 🙄 😊 ? |
It's in the pre-release! Give that a try. |
I lied, there isn't a pre-release with that out yet. |
😭 |
Working on it! A pre-release should be out today if all goes according to plan. |
@Stephanevg got a pre-release out for you last night! |
Hey @andyleejordan thank you so much in beeing so quick to release these fixes!
ps: Additional info: I do not have the same issue with JSON or XML files for example. |
Ok, in the preview version the bug is actually fixed! 🥳 Thanks so much @andyleejordan 👍 🦄 👍 |
Heck yeah! It was a bit complicated so I am happy to hear it's working. |
This issue has been labeled as resolved and has not had any activity for one or more days. It has been closed for housekeeping purposes. |
Prerequisites
Summary
It looks like the outline is not working properly anymore
using this sample code
Everything is shown on the same line. The method SayWhat() is not 'in' the Plop Class. The $a variable is not under the 'woop' function
PowerShell Version
Visual Studio Code Version
Extension Version
[email protected]
Steps to Reproduce
Open vscode and sample script
press CTRL+ALT+B
indentation is not respected
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: