Skip to content

Installed extensions not showing up or can't be enabled #2658

Closed

Description

@TobiasDeBruijn

I have added to the Dockerfile some instructions to install extensions from a .vsix file, during building these are shown as being installed. However after starting the container, the extensions do not show up when filtering for @installed.

Adding to this, extensions installed via the gui using .vsix files cannot be enabled. Example:
image

This .vsix file was downloaded from the VScode marketplace

Extensions in the Dockerfile installed with RUN code-server --install-extension /ext/redhat.java-0.74.0.vsix

  • Web Browser: MS Edge 87.0.664.66
  • Local OS: Windows 10
  • Remote OS: Ubuntu 20.04 LTS (in Docker)
  • Remote Architecture: amd64
  • code-server --version: 3.8.0 c4610f7

Activity

  1. TobiasDeBruijn commented on Feb 2, 2021

    @TobiasDeBruijn
    Author

    A ctrl+f5 seems to fix the cant enable it after installing .vsix from gui issue, though the other still exists.

  2. jsjoeio commented on Feb 2, 2021

    @jsjoeio
    Contributor

    Hi @TheDutchMC - thanks for opening this! We will look into this as soon as we can.

    Adding to this, extensions installed via the gui using .vsix files cannot be enabled

    Can you try a different extension to confirm that this is indeed the case?

  3. TobiasDeBruijn commented on Feb 2, 2021

    @TobiasDeBruijn
    Author

    Hi @TheDutchMC - thanks for opening this! We will look into this as soon as we can.

    Adding to this, extensions installed via the gui using .vsix files cannot be enabled

    Can you try a different extension to confirm that this is indeed the case?

    The not able to enable bit was a dumb thing on my end. Forgot to reload the page after adding the extension, on VSCode's desktop app it would suggest a reload window, this version does not (might be a handy feature to add though).

    Regarding the other bit, the extensions installed when building the container, I can verify that issue occurs with multiple extensions. I have tested the following:

    • ms-vscode.vscode-typescript-next-4.2.20210201.vsix
    • richardwillis.vscode-gradle-3.5.2.vsix
    • naco-siren.gradle-language-0.2.3.vsix
    • ms-vscode.cpptools-1.1.3.vsix
    • vscjava.vscode-java-pack-0.12.1.vsix
    • vscjava.vscode-java-debug-0.30.0.vsix
    • redhat.java-0.74.0.vsix
  4. davids-tips commented on Apr 6, 2021

    @davids-tips

    I have looked into the issue. I had it aswell

    Steps i took to fix it.

    1. Close the instance of code-server.
    2. Restart instance and log back in.
    • The extensions should now be enabled and be able to be toggled on and off

    Below is unrelated but some useful information

    • As of the issue of not being able to access it from the internet without having to use ssh try setting up ngrok

    Hope this works for you,

    David A. Powell
    Beginner in Javascript
    Compentent in Python and Discord.py
    Proficient in html and css.
    OC of WhiskeyBot
    See my latest projects at https://github.com/Davids-tips
    Founder of Whiskey Dev Group

  5. added this to the Backlog milestone on Apr 29, 2021
  6. stale commented on Oct 27, 2021

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions