Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands not registered #37

Closed
PaulPrice opened this issue Aug 25, 2018 · 4 comments
Closed

Commands not registered #37

PaulPrice opened this issue Aug 25, 2018 · 4 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@PaulPrice
Copy link

Having installed SSHFS v1.9.2 under VSCode 1.26.1, I do not have access to any of the SSHFS functionality. For example, I get:

command 'sshfs.new' not found

Same thing with all the other commands available from the Palette.

This is the same problem as #1, but it's appearing in modern versions of SSHFS and VSCode; and I don't appear to be the only one with this problem.

I hope you will fix this soon, as this looks like exactly the extension I want (support for agent, multiple targets). I'm happy to help debug, but I'm a complete VSCode n00b.

@PaulPrice
Copy link
Author

And now it's magically working.
It's possible that it wasn't loading because of a bad config: I didn't have a name element (discovered via the PROBLEMS tab).
Looking at the "Log (Extension Host)" output, I noticed that the extension doesn't get loaded until I open the Command Palette. I'm guessing what's happening is it's attempting to load, finds a bad configuration and only half-loads.

@SchoofsKelvin
Copy link
Owner

Duplicate of #1

It seems like this bug happens sometimes to people, but I can't barely reproduce it. Since all commands are properly registered in activationEvents, it seems it might be a bug in vscode. I'll later on see if I can reproduce it again somehow.

@SchoofsKelvin SchoofsKelvin added bug Something isn't working duplicate This issue or pull request already exists labels Sep 8, 2018
@skeetmtp
Copy link

Hello,

I successfully mitigate this bug by :

  • update vscode to 1.28.1 (from 1.25.0)
  • manually remove all sshfs settings in User Settings
  • restart vscode
  • cltr-shift-p "Create a SSH FS Configuration"

I don't know which step helped, but it finally worked !

@SchoofsKelvin
Copy link
Owner

I'm not sure whether updating and removing the settings mattered, or whether restarting vscode was all that was needed.

Closing this issue now, as it's a duplicate, and this still seems something caused by the extension API, not the actual extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants