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

Can't use it with Github Codespaces (or any VSCode web solution) #6826

Closed
delucca opened this issue Jul 4, 2021 · 13 comments
Closed

Can't use it with Github Codespaces (or any VSCode web solution) #6826

delucca opened this issue Jul 4, 2021 · 13 comments
Assignees
Milestone

Comments

@delucca
Copy link

delucca commented Jul 4, 2021

Describe the bug
Hi. We cannot use this extension with Github Codespaces or any VSCode web solutions (like code-server).

After the most recent updates on VSCode, now extensions should report their kind. So, if we try to install this extension directly from the marketplace, it simply won't start and throws us this error:

[2021-07-04 18:54:49.980] [window] [error] Cannot install 'Vim' because this extension is not a web extension.: installFromGallery@https://vscodeweb.azureedge.net/stable/507ce72a4466fbb27b715c3722558bb15afa9f48/out/vs/workbench/workbench.web.api.js:1785:27284

If we change our settings.json to the following:

    "remote.extensionKind": {
      "vscodevim.vim": ["workspace"]
    },

Now it installs, but it is extremely slow since with this config the extensions is being handled in the remote host, so basically any j,k or whatever command is sent to the remote host instead of being resolved locally.

If we change the settings.json to:

    "remote.extensionKind": {
      "vscodevim.vim": ["ui"]
    },

It doesn't work. We receive an error saying that this extensions cannot be installed.

@bmarden
Copy link

bmarden commented Jul 26, 2021

I'm having this issue as well, is there any solution to this? It makes the extension essentially unusable when using code-server.

@bhavitsharma
Copy link

+1 any workarounds for this? Installing it remotely makes the UI very slow.

@J-Fields J-Fields modified the milestones: Backlog, On deck Sep 1, 2021
@J-Fields J-Fields self-assigned this Sep 1, 2021
@jsjoeio
Copy link

jsjoeio commented Sep 2, 2021

It looks like VS Code just came out with a Web Extensions guide. Hoping that will help provide information for moving this forward. Happy to beta test or help in other ways!

@TooTallNate
Copy link

I'm also happy to help test any solution here. Running into the same issue.

Thanks @delucca for posting the config workaround to get it working remotely. Better than nothing for me (yes, I literally can't code without vim keybindings anymore 😂).

@Caleb-T-Owens
Copy link

Is there an update on this or an explanation on what exactly doesn't work? The extension installs as a web/browser extension in codespaces, but does not seem to work at all.

@tymon42
Copy link

tymon42 commented Oct 17, 2021

I try to install an old version(like v1.21.3), and it works well.
There is a gif-guide for installing old version extension.
Maybe we could wait for the solution patiently.

@tymon42
Copy link

tymon42 commented Oct 17, 2021

I try to install an old version(like v1.21.3), and it works well.

There is a gif-guide for installing old version extension.

Maybe we could wait for the solution patiently.

Don't work for Safari on iPad Pro.

@deme0607
Copy link

I installed the extension for code-server via CLI, and it works.

$ code-server --install-extension vscodevim.vim
Installing extensions...
Installing extension 'vscodevim.vim'...
Extension 'vscodevim.vim' v1.21.8 was successfully installed.

code-server: v3.12.0
VS Code: v1.60.0
Commit: b37ff28a0a582aee84a8f961755d0cb40a4081db
Date: 2021-09-16T20:08:09Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

@bhavitsharma
Copy link

May I suggest using gitpod-io/openvscode-server. It runs vim extension in the browser and it is snappy!

@J-Fields
Copy link
Member

This should be fixed in 1.29.1 - please let me know if you're still having this issue on the latest version.

@J-Fields J-Fields added the status/already-resolved Fixed in previous version label Oct 19, 2021
@Caleb-T-Owens
Copy link

Caleb-T-Owens commented Oct 19, 2021 via email

@Choongkyu
Copy link

Choongkyu commented Feb 17, 2022

I'm still seeing this issue on codespaces with extension v1.22.1, which appears to be the latest version available.

@kevinaud
Copy link

Not working for me either, maybe there was a regression?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests