-
Notifications
You must be signed in to change notification settings - Fork 513
VS Code Formatting Instability #3565
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
Hey Chrissy! Super great to hear things are finally starting to work better As far as the "large chunk" of code randomly moving/pasting...I feel like I know what you're talking about. I've seen similar things happen in both VS Code with other extensions and in Emacs using various LSP plugins. It seems like a bigger issue than just us, and unfortunately it's a really hard one to nail down because it happens so randomly. I hope we can get a repro of this and finally figure it out. As for the "rewrite" we got half of that done with the move to OmniSharp, and then the subsequent update to OmniSharp itself. However, @rjmholt is still hard at working at the rest of it, which I'll let him fill in after me. We hope to be able to share more at the community call as well. |
awesome news all around! thanks so much for the updates 💯 |
also glad to know that chunks of code thing is not a ps extension problem. hopefully it will get fixed at that level 👍🏼 |
Just to follow up here, the work to improve the fundamental issues in how PowerShell is executed in the extension is being done in PowerShell/PowerShellEditorServices#1459. I've just opened PowerShell/PowerShellEditorServices#1574 onto that branch, which implements debugging (which took much much longer than anticipated because PowerShell's debugger is quite complex, especially when remoting). There are a number of smaller things we need to implement still, but with the debug implementation done we should pretty much be on the home stretch. |
fantastic news! Thank you @rjmholt 🥳 |
Prerequisites
Summary
Hey Andy, as a follow up to my comment on the Community Call thread, this may have resolved the issue: #3524
On July 22, I presented at a PS UG meeting and my formatting was not working -- as it hadn't been for a couple weeks. Others on the call confirmed they were having the same issues. Here are the issues I encountered:
Since then, time has passed and I've seen the extension get updated. I've also updated psreadline across the board, no idea if that impacts anything. Either way, so far this week, things are working well and formatting works nicely 🎉
As for my second question about a rewrite: because extension instability is an on-going issue (it's happened regularly for years), it's my assumption that these issues were going to be permanently fixed as part of the rewrite of the VS Code PowerShell extension. Last time I was on a community call, Steve said Extension instability has to do with the underlying engine, Onyx or Ultima or something, and that the extension was being rewritten to use something else. So I was inquiring about timeline for the total rewrite.
PowerShell Version
Visual Studio Code Version
Extension Version
[email protected]
Steps to Reproduce
Code PowerShell in VS Code and wait 😅
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: