-
Notifications
You must be signed in to change notification settings - Fork 520
Closed
@Stephanevg
Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all open and closed issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
- I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
- If this is a security issue, I have read the security issue reporting guidance.
Summary
It looks like the outline is not working properly anymore
using this sample code
Class plop { $var1 [string]SayWhat() { return "whaaat!" } } function woop { $var2 $a = [plop]::New() $a.SayWhat() }
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
Name Value ---- ----- PSVersion 7.3.8 PSEdition Core GitCommitId 7.3.8 OS Microsoft Windows 10.0.22000 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0
Visual Studio Code Version
1.83.1 f1b07bd25dfad64b0167beb15359ae573aecd2cc x64
Extension Version
ms-vscode.powershell@202380Steps to Reproduce
Open vscode and sample script
press CTRL+ALT+B
indentation is not respected
Visuals
No response
Logs
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Done