Skip to content

Disable extension recommendation #24653

Closed

Description

@hackjutsu
  • VSCode Version: 1.11.1
  • OS Version: macOS 10.12.4

Steps to Reproduce:

  1. Download a fresh vscode.
  2. Create file.py and open it.

jietu20170412-225708

This notification is annoying and I have to click "Don't show again" for every new file type. (Imagine a new user switches to vscode and opens a big project for the first time.)

It would be best if we can disable this recommendation notification in the setting.

Activity

  1. added
    feature-request
    good first issue
    help wanted
    on Apr 13, 2017
  2. morrme commented on Apr 13, 2017

    @morrme

    I would love to help, but I'm new. Is mentoring available to help resolve this?

  3. joaomoreno commented on Apr 13, 2017

    @joaomoreno
    Contributor

    Sure, go through our how to contribute guide and then check this out.

  4. morrme commented on Apr 13, 2017

    @morrme

    João Moreno (@joaomoreno) OK, so is this something you want to remove completely from the codebase (that section that deals with recommendations)? or just create a way to allow the user to disable this type of recommendation?

  5. joaomoreno commented on Apr 13, 2017

    @joaomoreno
    Contributor

    Here's an idea:

    Let's add a new configuration setting: extensions.ignoreRecommendations, defaults to false.

    When the user clicks Never Show Again for one specific extension recommendation, we can popup a message saying something like:

    Do you want to ignore all extension recommendations?

    With the options of Yes, Ignore All, No, Cancel. The user's answer would be reflected in the value of the setting.

  6. joaomoreno commented on Apr 13, 2017

    @joaomoreno
    Contributor

    That is correct! We should still collect the recommendations though, but just not alert the user about them.

  7. RishabhKothaari commented on Apr 14, 2017

    @RishabhKothaari
    Contributor

    João Moreno (@joaomoreno) Need some clarity on this.

    1. Should the workspace recommended extensions that are shown to user with the message

    This workspace has extension recommendations.

    respect this new setting - extensions.ignoreRecommendations ?

    1. And should this be a user configuration or workspace configuration ? - I feel it should be a workspace configuration.
  8. joaomoreno commented on Apr 18, 2017

    @joaomoreno
    Contributor

    Should the workspace recommended extensions that are shown to user with the message

    Great question. I'd say so. What do you think?

    And should this be a user configuration or workspace configuration ? - I feel it should be a workspace configuration.

    I'd make it a user configuration only.

  9. RishabhKothaari commented on Apr 19, 2017

    @RishabhKothaari
    Contributor

    João Moreno (@joaomoreno) Thanks for you input. I implemented this and I am testing it out, need some input on this .
    The behavior and problem is depicted in the attached image.
    image

    1. Clicking on Don't show again for any one one of the message.Should hide all the messages and pops up a Message to Do you want to ignore all extension recommendations.

    Current behavior:

    1. When the user chooses Yes,Ignore All - we add the extension say Go to extensionAssistant/importantRecommendationsIgnore list sets extensions.ignoreRecommendations to true.
    2. When the user chooses No - we add the extension and its type to extensionAssistant/importantRecommendationsIgnore and hide that message. And ask user for choice on other remaining messages.
    3. When the user choosed Cancel - we just hide the current message and ask for choice on other remaining messages.

    Question :

    Should we add all the extensions to extensionAssistant/importantRecommendationsIgnore in case 1 - I think 'we should not' - as each of the message is asking a choice from the user for that specific file
    type.What do you think on this ?

    If at all you think we should add all , then is there a way to check that all the current messages are from the same action and selecting a choice on one should set the choice for all and then push all the current extension recommendations to extensionAssistant/importantRecommendationsIgnore list ? . At this time I can see messageService.hideAll() to hide all and then update extensions.ignoreRecommendations accordingly as described in behavior above.

  10. joaomoreno commented on Apr 19, 2017

    @joaomoreno
    Contributor

    You shouldn't correlate all those messages with themselves. Let's handle one at a time.

    As soon as a user clicks on any of the Don't show again buttons, we add that extension to the ignore list and the Do you want to ignore all extension recommendations message comes up. If the user presses Yes, Ignore All we store an extra global boolean that means don't show more recommendations. No need to add all the other extensions to the ignore list.

  11. 1 remaining item

  12. added a commit that references this issue on Apr 19, 2017
  13. RishabhKothaari commented on Apr 19, 2017

    @RishabhKothaari
    Contributor

    João Moreno (@joaomoreno) can you review this #25038 and let me know if any modifications are required, or there is a better way to achieve it ?

  14. joaomoreno commented on Apr 20, 2017

    @joaomoreno
    Contributor

    RISHII (@RISHII7) I'll have to do it in May, pretty busy already this month.

  15. morrme commented on Apr 20, 2017

    @morrme

    João Moreno (@joaomoreno) i just have a question--since i was the first to volunteer for this one, did i skip a step? i thought i was supposed to be working on this one but someone else sort of took over....how can i properly claim an issue next time?

  16. joaomoreno commented on Apr 21, 2017

    @joaomoreno
    Contributor

    Oh I didn't realise someone else actually picked it up. You did all the right things... RISHII (@RISHII7) just seems to have stepped on your toes.

  17. morrme commented on Apr 21, 2017

    @morrme
  18. added
    extensions
    on Apr 26, 2017
  19. wuzixiao commented on May 10, 2017

    @wuzixiao

    Hi RISHII (@RISHII7), João Moreno (@joaomoreno) , I am new to this project and want to help.

    Can I ask how do you debug your code for extentions? As when you run out of source, you can not connect to the extension marketplace.

    Thanks

  20. RishabhKothaari commented on May 10, 2017

    @RishabhKothaari
    Contributor

    TomLiu (@wuzixiao) Even I am new to this project. I had the same problem but looking at the existing issues, I found this and I hope this will help you.

  21. wuzixiao commented on May 11, 2017

    @wuzixiao

    Thanks RISHII (@RISHII7) . It is really helpful.

  22. simonjaeger commented on Aug 31, 2017

    @simonjaeger
    Member

    João Moreno (@joaomoreno) Since #25038 is merged - should this PR be closed?

  23. joaomoreno commented on Aug 31, 2017

    @joaomoreno
    Contributor

    Yeah, thanks!

  24. locked and limited conversation to collaborators on Nov 17, 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

    extensionsfeature-requestgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions