-
Notifications
You must be signed in to change notification settings - Fork 498
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
Code formating Problem #1547
Comments
Some of the crash may be this: |
@vendolis Can you upload your logs to allow the issue to be diagnosed more easily? |
Trying to reproduce this I'm getting no formatting at all -- looks like I'm hitting PowerShell/PSScriptAnalyzer#1070. |
@rjmholt the logs are at the top of the issue btw |
Ah yep! |
Good news, @vendolis! This is fixed in PSScriptAnalyzer as @rjmholt mentioned above. So this will be fixed in the next release of PSScriptAnalyzer and then we will do a release of the PowerShell extension and you'll get the fix. So you'll get this fix in the near future. If you want it now, you can download the CI build of PSScriptAnalyzer here and throw that in your PSModulePath. I'm going to close this issue since it's an external problem of the PowerShell extension and it's already fixed upstream. Let me know if you feel otherwise 😄 Hope you had a nice time at Ignite! |
EditorServices.zip
Issue Description
I am experiencing a problem with Code formatting.
When the code in the region on the bottom is in the code the code formatting is not working. also sometimes when I do copy and paste of that block the extension crashes.
CodeFormatingIssue.txt
[Contents of TXT file]:
From the log:
Attached Logs
Follow the instructions in the README about
capturing and sending logs.
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: