Windows 10 Pro VSCode 1.74.1
I remember it used to work, but before I knew it, the VSCode PowerShell formatter stopped working.
I am requesting a format with Shift+Alt+F, but the following message is output even though PowerShell extension "PowerShellv2022.12.1" is already included.
The formatter for the 'PowerShell' file is not installed.
Strangely enough, this message is output only when VSCode is launched and the first Shift+Alt+F.No matter how many times you press Shift+Alt+F after the second time, nothing will happen. (I feel like I'm swinging.)
Uninstalling and reinstalling PowerShell extensions did not improve the symptoms.Please let me know if there is anything I need to review.
It seems to have been resolved (or avoided) by pointing out the comments, so I will answer it.
As you can see in this issue, the 1.74.x version seems to have a problem with the enhancements.
Extensions being installed on restart#168579
It seems that the above issue has not been resolved yet, so you should try downgrading to the 1.73.x version as a workaround.
October2022(version 1.73)
By downgrading, it's back to normal.
© 2024 OneMinuteCode. All rights reserved.