How can I load hugging face space files into Cursor AI, just like I can load them to VSCode?

Hi, I want to edit code in HuggingFace Space using Cursor IDE instead of VS Code.

I’m can’t load any of the files in HuggingFace Space in my local Cursor IDE. VS code integration is quite seemless for this. See screenshot

Any tips to make this work? I like Cursor AI suggestions better than copilot

Hey, you can try setting up a connection via SSH. You can check the documentation here:

Seems remote-ssh extension is only support for microsoft version of VS code. Is there another extension I should be using with Cursor AI?

Did you install this extension? Everything works fine for me.

Got it. I have the extension. Also, sharing exception and stacktrace incase that’s helpful

[08:55:01.019] Log Level: 2

[08:55:01.039] SSH Resolver called for “ssh-remote+7b22686f73744e616d65223a227373682e68662e7370616365222c2275736572223a226869746573686a61696e3131382d737061636532227d”, attempt 1

[08:55:01.043] remote.SSH.useLocalServer = true

[08:55:01.043] remote.SSH.useExecServer = true

[08:55:01.043] remote.SSH.bindHost = {}

[08:55:01.043] remote.SSH.path =

[08:55:01.043] remote.SSH.configFile =

[08:55:01.043] remote.SSH.useFlock = true

[08:55:01.043] remote.SSH.lockfilesInTmp = false

[08:55:01.043] remote.SSH.localServerDownload = auto

[08:55:01.043] remote.SSH.remoteServerListenOnSocket = false

[08:55:01.044] remote.SSH.defaultExtensions =

[08:55:01.044] remote.SSH.defaultExtensionsIfInstalledLocally =

[08:55:01.044] remote.SSH.loglevel = 2

[08:55:01.044] remote.SSH.enableDynamicForwarding = true

[08:55:01.044] remote.SSH.enableRemoteCommand = false

[08:55:01.044] remote.SSH.serverPickPortsFromRange = {}

[08:55:01.044] remote.SSH.serverInstallPath = {}

[08:55:01.044] remote.SSH.permitPtyAllocation = false

[08:55:01.044] remote.SSH.preferredLocalPortRange = undefined

[08:55:01.044] remote.SSH.useCurlAndWgetConfigurationFiles = false

[08:55:01.044] remote.SSH.experimental.chat = true

[08:55:01.044] remote.SSH.experimental.enhancedSessionLogs = true

[08:55:01.053] VS Code version: 0.45.11

[08:55:01.053] Remote-SSH version: [email protected]

[08:55:01.053] darwin x64

[08:55:01.066] SSH Resolver called for host: [email protected]

[08:55:01.066] Setting up SSH remote “ssh.hf.space”

[08:55:01.069] Resolver error: Error: Remote - SSH is only supported in Microsoft versions of VS Code

at t.assertVSDA (/Users/hiteshjai/.cursor/extensions/ms-vscode-remote.remote-ssh-0.117.0/out/extension.js:2:875176)

at t.resolve (/Users/hiteshjai/.cursor/extensions/ms-vscode-remote.remote-ssh-0.117.0/out/extension.js:2:812093)

at /Users/hiteshjai/.cursor/extensions/ms-vscode-remote.remote-ssh-0.117.0/out/extension.js:2:1097565

at cMt.d (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:179:32433)

at cMt.withProgress (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:179:32299)

at Object.withProgress (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:180:52277)

at k.resolve (/Users/hiteshjai/.cursor/extensions/ms-vscode-remote.remote-ssh-0.117.0/out/extension.js:2:1097151)

at async sWt.$resolveAuthority (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:142:19873)

[08:55:01.076] ------

[08:55:01.076] No hints found in the recent session.

Ah yeah I see the issue - you’ll need to install version 0.113 of Remote-SSH specifically for this to work in Cursor

  1. First uninstall your current Remote-SSH extension
  2. Install version 0.113 from the Cursor marketplace
  3. Restart Cursor and try connecting again

This should fix that “only supported in Microsoft versions” error you’re seeing. Let me know if you still have issues after trying that