Skip to content

Command "Extensions: Install Extension" missing when running vscode from source #2647

Closed

Description

I'm trying to test the install plugin feature in the latest pre-release 0.10.7 but it doesn't show up.

vscode_install_extension

I just cloned the repo and follow the steps to run vscode. I'm using Windows 8.1 x64

Am I missing something?

Activity

  1. egamma commented on Feb 2, 2016

    @egamma
    Member

    If you build VS Code from source then the product is configured without some features like the extensins gallery. Pls see this comment for more background on this #60 (comment)

    If you install the published Insider version then the command is there. Pls see
    https://blogs.msdn.microsoft.com/vscode/2016/02/01/introducing-insiders-builds/

  2. mucaho commented on Apr 1, 2016

    @mucaho

    I've done some digging and figured out how to install an extension manually. There may be a better way to do this, but can't find any documentation on it:

    EDIT: Aha, yes, one more important thing: I can't speak for anyone here, but I guess once you start using MS's branded services, e.g. loading extensions from the gallery store, you agree to their terms of use. I'd imagine that installing these extensions also applies under the proprietary Visual Studio Code license, as well as any individual license contained in the extension.

  3. jgillich commented on Apr 1, 2016

    @jgillich

    Erich Gamma (@egamma) Can you please elaborate, is it possible to build VS Code with the extension gallery or is that a closed source component?

  4. egamma commented on Apr 2, 2016

    @egamma
    Member

    Jakob Gillich (@jgillich) this has already been elaborated here #60 (comment), hasn;t it?

  5. jgillich commented on Apr 2, 2016

    @jgillich

    Erich Gamma (@egamma) Well, given how vital extensions are to a editor like VS Code, I couldn't quite believe what I read and had to ask for confirmation.

  6. mucaho commented on Apr 3, 2016

    @mucaho

    Jakob Gillich (@jgillich) I think there has been a slight misunderstanding: If you read one of the following comments in #60, it says that you just need to modify a configuration file for it to work.
    I've just added 3 lines to the configuration file and that enabled the extension manager!

  7. jgillich commented on Apr 4, 2016

    @jgillich

    mucaho Seems so, thanks! Now I'm relieved.

  8. robertolabarca commented on Oct 26, 2016

    @robertolabarca
    1. Ir a https://vscode.blob.core.windows.net/gallery/index y localizar la entrada correspondiente a la extensión que se quiere instalar . Esta url es un cache de todas las extensiones disponibles en la galeria
    2. Localizar el assetUri para la version deseada
    3. Agregar /Microsoft.VisualStudio.Services.VSIXPackage?install=true al assetUri y descargar la url resultante (ej: "assetUri":https://ms-vscode.gallery.vsassets.io/_apis/public/gallery/publisher/ms-vscode/extension/csharp/1.4.1/assetbyname

    Url resultante : https://ms-vscode.gallery.vsassets.io/_apis/public/gallery/publisher/ms-vscode/extension/csharp/1.4.1/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage?install=true
    )
    4. Renombrar el fichero Microsoft.VisualStudio.Services.VSIXPackage descargado en 3 a Microsoft.VisualStudio.Services.VSIX.
    5. Ejecutar code --install-extension Microsoft.VisualStudio.Services.VSIX
    6. Ejecutar tareas pos instalación. Solo de ser necesario por el componente.

  9. robertohuertasm commented on Dec 28, 2016

    @robertohuertasm
    Contributor

    Just to make it simple:

    1. Find product.json file
    2. Add the following lines to it:
    "extensionsGallery": {
      "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
      "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
      "itemUrl": "https://marketplace.visualstudio.com/items"
    }
    
  10. locked and limited conversation to collaborators on Nov 18, 2017
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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions