-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't show extension recommendations for common .env file extensions #139321
Comments
@digitarald good catch. Create |
Looks like the recommendation is only shown when the vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.ts Lines 318 to 322 in edbf56a
|
A Marketplace search bug adds to the confusion: |
It's not an hardcoded list. We check if there are extensions supporting such a file extension and prompt users to install if one of them is not installed as shown by @digitarald. |
Ok, thanks for clarifying. |
It is not giving too many results, instead it is giving correct results. In fact
|
@sandy081 could you explain "instead it is giving correct results". It seems in the examples above that resolving In the past we have seen that a shorter list of more curated results helped users. Maybe we could run an experiment if the fuzzier/broader search yields more installs than a shorter/more-accurate search. |
Sure. As I mentioned in my previous comment, |
The same tag problem applies to The original issue was about the limited benefit that .env files get from the available extensions and that prompting is too intrusive. This is somewhat validated by the low install numbers for those extensions and the low engagement with the prompt. I understand that we don't have an existing ignore list for extensions that could be utilized to exclude extensions from being prompted for. What do others think about special-casing .env extensions? |
I would not like if we introduced a special case for @digitarald are there other file extensions where the toast is showing up and it should not? |
I do not think this will help. The root problem here is to come up with proper non generic tags to search in MP. |
@isidorn the top file extensions by cancelation count: development, example, production, local, config, env, pdf, plist, dev, out, pbxproj, bak, test, snap, tpl, sample, dat, template, tf, pub, key. I'd argue that most (with exceptions, like pbxproj) are rather generic. I haven't tried searching for them, but will give it a shot to test the query discussions from #140050. |
Ok, then a hack alternative would be to just take this list of top file extensions by cancelation count from @digitarald and have them in our code as a filter list for which we do not show recommendations.... I am open to suggestions... |
👀 Related thread from Reddit |
I am glad we are bringing comedy gold. |
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding, and happy coding! |
Steps to Reproduce: Open a
.env.local
,.env.production
,.env.example
, or.env.development
file.Actual: Keeps prompting for each new .env file extension. Search results are not useful.
Extension search for a
production
file:Expected: Just edit the file plainly. It doesn't need much to write env files.
cc @sandy081 @isidorn
The text was updated successfully, but these errors were encountered: