File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2929 " onCommand:coder.connect" ,
3030 " onUri"
3131 ],
32- "extensionDependencies" : [
33- " ms-vscode-remote.remote-ssh"
34- ],
3532 "main" : " ./dist/extension.js" ,
3633 "contributes" : {
3734 "configuration" : {
Original file line number Diff line number Diff line change @@ -20,14 +20,16 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
2020 // This is janky, but that's alright since it provides such minimal
2121 // functionality to the extension.
2222 const remoteSSHExtension = vscode . extensions . getExtension ( "ms-vscode-remote.remote-ssh" )
23- if ( ! remoteSSHExtension ) {
23+ const openRemoteSSHExtension = vscode . extensions . getExtension ( "anysphere.open-remote-ssh" )
24+ if ( ! remoteSSHExtension && ! openRemoteSSHExtension ) {
2425 throw new Error ( "Remote SSH extension not found" )
2526 }
27+ const usingSSHExtention = remoteSSHExtension ? remoteSSHExtension : openRemoteSSHExtension
2628 // eslint-disable-next-line @typescript-eslint/no-explicit-any
2729 const vscodeProposed : typeof vscode = ( module as any ) . _load (
2830 "vscode" ,
2931 {
30- filename : remoteSSHExtension ?. extensionPath ,
32+ filename : usingSSHExtention ?. extensionPath ,
3133 } ,
3234 false ,
3335 )
You can’t perform that action at this time.
0 commit comments