File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2424"categories" : [
2525" Other"
2626 ],
27+ "extensionPack" : [
28+ " ms-vscode-remote.remote-ssh"
29+ ],
2730"activationEvents" : [
2831" onResolveRemoteAuthority:ssh-remote" ,
2932" onCommand:coder.connect" ,
3033" onUri"
3134 ],
32- "extensionDependencies" : [
33- " ms-vscode-remote.remote-ssh"
34- ],
3535"main" : " ./dist/extension.js" ,
3636"contributes" :{
3737"configuration" :{
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void>{
1919// This is janky, but that's alright since it provides such minimal
2020// functionality to the extension.
2121//
22- // Prefer the anysphere.open-remote-ssh extension if it exists. This makes
23- // our extension compatible with Cursor. Otherwise fall back to the official
24- // SSH extension.
22+ // Cursor and VSCode are covered by ms remote, and the only other is windsurf for now
23+ // Means that vscodium is not supported by this for now
2524const remoteSSHExtension =
26- vscode . extensions . getExtension ( "anysphere.open -remote-ssh " ) ||
25+ vscode . extensions . getExtension ( "codeium.windsurf -remote-openssh " ) ||
2726vscode . extensions . getExtension ( "ms-vscode-remote.remote-ssh" )
2827if ( ! remoteSSHExtension ) {
28+ vscode . window . showErrorMessage ( "Remote SSH extension not found, cannot activate Coder extension" )
2929throw new Error ( "Remote SSH extension not found" )
3030}
3131// eslint-disable-next-line @typescript-eslint/no-explicit-any
You can’t perform that action at this time.
0 commit comments