Skip to content

VS Code created a new file after installing extension from command line #107870

Closed

Description

@laike9m

Steps to Reproduce:

  1. code --install-extension --force laike9m.cyberbrain
  2. And then VS Code would pop up new file named after the extension

image

I'm not sure if that's the expected behavior, or I'm doing something wrong.

Activity

  1. vscodebot commented on Oct 1, 2020

    @vscodebot

    (Experimental duplicate detection)
    Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

  2. bpasero commented on Oct 1, 2020

    @bpasero
    Contributor

    Try with code --install-extension laike9m.cyberbrain

  3. added
    *question
    on Oct 1, 2020
  4. vscode-triage-bot commented on Oct 1, 2020

    @vscode-triage-bot

    Please ask your question on StackOverflow. We have a great community over there. They have already answered thousands of questions and are happy to answer yours as well. See also our issue reporting guidelines.

    Happy Coding!

  5. laike9m commented on Oct 1, 2020

    @laike9m
    Author

    Thanks for reply. My understanding is that --force force reinstall, and shouldn't change other behavior?

  6. bpasero commented on Oct 1, 2020

    @bpasero
    Contributor

    Sandeep Somavarapu (@sandy081) do we support a --force to install extensions?

  7. sandy081 commented on Oct 1, 2020

    @sandy081
    Member

    Yes, for forcing to install latest version or older version.

  8. added
    extensions
    workbench-cli
    and removed
    *question
    on Oct 1, 2020
  9. bpasero commented on Oct 1, 2020

    @bpasero
    Contributor

    Then I think you should own this and check why your CLI is not being called.

  10. sandy081 commented on Oct 1, 2020

    @sandy081
    Member

    I do handle force argument but the extension to install shall be provided after --install-extension argument, otherwise there will not values/extensions to install. Hence it does not go to CLI

    code --install-extension laike9m.cyberbrain --force is the right format.

  11. locked and limited conversation to collaborators on Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

extensions

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions