You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extensionsIssues concerning extensionsfeature-requestRequest for new features or functionalitygood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunities
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.
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?
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.
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:
When the user chooses Yes,Ignore All - we add the extension say Go to extensionAssistant/importantRecommendationsIgnore list sets extensions.ignoreRecommendations to true.
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.
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.
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.
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?
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.
extensionsIssues concerning extensionsfeature-requestRequest for new features or functionalitygood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunities
Activity
morrme commentedon Apr 13, 2017
I would love to help, but I'm new. Is mentoring available to help resolve this?
joaomoreno commentedon Apr 13, 2017
Sure, go through our how to contribute guide and then check this out.
morrme commentedon Apr 13, 2017
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?
joaomoreno commentedon Apr 13, 2017
Here's an idea:
Let's add a new configuration setting:
extensions.ignoreRecommendations, defaults tofalse.When the user clicks
Never Show Againfor one specific extension recommendation, we can popup a message saying something like:With the options of
Yes, Ignore All,No,Cancel. The user's answer would be reflected in the value of the setting.morrme commentedon Apr 13, 2017
João Moreno (@joaomoreno) this sounds like a great idea!
looks like there are 2 places that message appears:
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/extensions/electron-browser/extensionTipsService.ts#L177
and
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/extensions/electron-browser/extensionTipsService.ts#L217
but also somewhere in here
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/extensions/electron-browser/extensionTipsService.ts#L125
We need to check for the setting before gearing up the recommendations, correct?
joaomoreno commentedon Apr 13, 2017
That is correct! We should still collect the recommendations though, but just not alert the user about them.
RishabhKothaari commentedon Apr 14, 2017
João Moreno (@joaomoreno) Need some clarity on this.
respect this new setting -
extensions.ignoreRecommendations?workspaceconfiguration.joaomoreno commentedon Apr 18, 2017
Great question. I'd say so. What do you think?
I'd make it a user configuration only.
RishabhKothaari commentedon Apr 19, 2017
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.
Don't show againfor any one one of the message.Should hide all the messages and pops up a Message toDo you want to ignore all extension recommendations.Current behavior:
GotoextensionAssistant/importantRecommendationsIgnorelist setsextensions.ignoreRecommendationstotrue.No- we add the extension and its type toextensionAssistant/importantRecommendationsIgnoreand hide that message. And ask user for choice on other remaining messages.Cancel- we just hide the current message and ask for choice on other remaining messages.Question :
Should we add all the extensions to
extensionAssistant/importantRecommendationsIgnoreincase 1- I think 'we should not' - as each of the message is asking a choice from the user for that specific filetype.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/importantRecommendationsIgnorelist ? . At this time I can seemessageService.hideAll()to hide all and then updateextensions.ignoreRecommendationsaccordingly as described in behavior above.joaomoreno commentedon Apr 19, 2017
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 againbuttons, we add that extension to the ignore list and theDo you want to ignore all extension recommendationsmessage comes up. If the user pressesYes, Ignore Allwe store an extra global boolean that means don't show more recommendations. No need to add all the other extensions to the ignore list.1 remaining item
microsoft#24653 - Adds a new user configuration `extensions.ignoreRec…
RishabhKothaari commentedon Apr 19, 2017
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 ?
joaomoreno commentedon Apr 20, 2017
RISHII (@RISHII7) I'll have to do it in May, pretty busy already this month.
morrme commentedon Apr 20, 2017
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?
joaomoreno commentedon Apr 21, 2017
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.
morrme commentedon Apr 21, 2017
João Moreno (@joaomoreno) i see. thanks.
wuzixiao commentedon May 10, 2017
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
RishabhKothaari commentedon May 10, 2017
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.
wuzixiao commentedon May 11, 2017
Thanks RISHII (@RISHII7) . It is really helpful.
simonjaeger commentedon Aug 31, 2017
João Moreno (@joaomoreno) Since #25038 is merged - should this PR be closed?
joaomoreno commentedon Aug 31, 2017
Yeah, thanks!