File tree Expand file tree Collapse file tree 4 files changed +5
-14
lines changed Expand file tree Collapse file tree 4 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -854,7 +854,7 @@ major update.
854854
855855These major updates have also been tested over the last 6 months, in 13 releases of our
856856[ PowerShell Preview extension for Visual Studio
857- Code] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell-preview ) . A
857+ Code] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode.powershell ) . A
858858huge thank you to all of the community members who have tested these changes to the
859859extension and have worked with us to polish the extension before releasing it through our
860860stable channel.
@@ -1079,7 +1079,7 @@ are updating the stable extension to bring some bug fixes forward. Please try ou
10791079[ PowerShell Preview extension] [ ] for the latest and hopefully greatest experience, and
10801080help us squash those bugs!
10811081
1082- [ PowerShell Preview extension ] : https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell-Preview
1082+ [ PowerShell Preview extension ] : https://marketplace.visualstudio.com/items?itemName=ms-vscode.powershell
10831083
10841084#### [ PowerShellEditorServices] ( https://github.com/PowerShell/PowerShellEditorServices )
10851085
Original file line number Diff line number Diff line change 1717 " josefpihrt-vscode.roslynator" ,
1818 " ms-azure-devops.azure-pipelines" ,
1919 " ms-dotnettools.csharp" ,
20- " ms-vscode.powershell-preview "
20+ " ms-vscode.powershell"
2121 ]
2222 },
2323 "settings" : {
Original file line number Diff line number Diff line change @@ -72,9 +72,8 @@ export class ExternalApiFeature extends LanguageClientConsumer implements IPower
7272 throw new Error ( `No extension installed with id '${ id } '. You must use a valid extension id.` ) ;
7373 }
7474
75- // These are only allowed to be used in our unit tests.
76- if ( ( id === "ms-vscode.powershell" || id === "ms-vscode.powershell-preview" )
77- && ! ( this . extensionContext . extensionMode === vscode . ExtensionMode . Test ) ) {
75+ // Our ID is only only allowed to be used in our unit tests.
76+ if ( id === "ms-vscode.powershell" && ! ( this . extensionContext . extensionMode === vscode . ExtensionMode . Test ) ) {
7877 throw new Error ( "You can't use the PowerShell extension's id in this registration." ) ;
7978 }
8079
Original file line number Diff line number Diff line change @@ -56,14 +56,6 @@ export async function activate(context: vscode.ExtensionContext): Promise<IPower
5656
5757 telemetryReporter = new TelemetryReporter ( PackageJSON . name , PackageJSON . version , AI_KEY ) ;
5858
59- // If both extensions are enabled, this will cause unexpected behavior since both register the same commands.
60- // TODO: Merge extensions and use preview channel in marketplace instead.
61- if ( PackageJSON . name . toLowerCase ( ) === "powershell-preview"
62- && vscode . extensions . getExtension ( "ms-vscode.powershell" ) ) {
63- void logger . writeAndShowError (
64- "'PowerShell' and 'PowerShell Preview' are both enabled. Please disable one for best performance." ) ;
65- }
66-
6759 // Load and validate settings (will prompt for 'cwd' if necessary).
6860 await validateCwdSetting ( logger ) ;
6961 const settings = getSettings ( ) ;
You can’t perform that action at this time.
0 commit comments