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.
854
854
855
855
These major updates have also been tested over the last 6 months, in 13 releases of our
856
856
[ 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
858
858
huge thank you to all of the community members who have tested these changes to the
859
859
extension and have worked with us to polish the extension before releasing it through our
860
860
stable channel.
@@ -1079,7 +1079,7 @@ are updating the stable extension to bring some bug fixes forward. Please try ou
1079
1079
[ PowerShell Preview extension] [ ] for the latest and hopefully greatest experience, and
1080
1080
help us squash those bugs!
1081
1081
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
1083
1083
1084
1084
#### [ PowerShellEditorServices] ( https://github.com/PowerShell/PowerShellEditorServices )
1085
1085
Original file line number Diff line number Diff line change 17
17
" josefpihrt-vscode.roslynator" ,
18
18
" ms-azure-devops.azure-pipelines" ,
19
19
" ms-dotnettools.csharp" ,
20
- " ms-vscode.powershell-preview "
20
+ " ms-vscode.powershell"
21
21
]
22
22
},
23
23
"settings" : {
Original file line number Diff line number Diff line change @@ -72,9 +72,8 @@ export class ExternalApiFeature extends LanguageClientConsumer implements IPower
72
72
throw new Error ( `No extension installed with id '${ id } '. You must use a valid extension id.` ) ;
73
73
}
74
74
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 ) ) {
78
77
throw new Error ( "You can't use the PowerShell extension's id in this registration." ) ;
79
78
}
80
79
Original file line number Diff line number Diff line change @@ -56,14 +56,6 @@ export async function activate(context: vscode.ExtensionContext): Promise<IPower
56
56
57
57
telemetryReporter = new TelemetryReporter ( PackageJSON . name , PackageJSON . version , AI_KEY ) ;
58
58
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
-
67
59
// Load and validate settings (will prompt for 'cwd' if necessary).
68
60
await validateCwdSetting ( logger ) ;
69
61
const settings = getSettings ( ) ;
You can’t perform that action at this time.
0 commit comments