-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Marketplace search for file extensions doesn't give good enough results #41781
Comments
@sandy081 behind the scenes the the search text being formed is The The difference between the search terms |
@ramya-rao-a First of all, While generating the VSIX, we generate internal tags in the format Note that all extensions contributions under languages section will have Looks like we have a bug in our VS Code that we are not adding After fixing here are the results when I do
I assume, after my fix extensions are returned in proper order. Check it out. |
@ramya-rao-a I think part of my assumption is partially wrong in the above comment. VSCE was generating the tags from file extensions with So, this resulted in two kinds of tags for file extensions for a language extension, one with Update the fix to support both kinds of tags. |
@sandy081 Though the current fix does fix the issue for extensions with tags starting from When you have an extension installed to support stylus and then do the search, you get the results similar to #41781 (comment) But, do the same search after disabling/uninstalling the extension that supports stylus, then you end up with only 2 results The root cause is that for languages with known mimetypes, And for languages with unknown mimetypes, this additional tag is missing in the search. I suggest to change |
@ramya-rao-a file extension and language id cannot be same always. So calling that a language tag might not be right. Instead we can append the extension tag to the query.
I think it makes sense to also get extensions tagged by file extension. |
Works well for stylus now, but there is noise for other file types, mostly due to bad tagging, will dig deeper |
Steps to Reproduce:
test.stylus
.Plain Text
. Click on it and then selectSelect Marketplace Extensions for .stylus...
The text was updated successfully, but these errors were encountered: