Skip to content
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

Improve extension recommendations (August milestone) #32422

Closed
3 tasks done
ramya-rao-a opened this issue Aug 13, 2017 · 5 comments
Closed
3 tasks done

Improve extension recommendations (August milestone) #32422

ramya-rao-a opened this issue Aug 13, 2017 · 5 comments
Assignees
Labels
extensions Issues concerning extensions on-testplan
Milestone

Comments

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Aug 13, 2017

Currently the extension recommendations come from 2 sources

  • a curated list of extensions mapped to filetypes maintained by the VS Code team.
  • the extension list inside the .vscode/extensions.json file in a workspace which is maintained by the workspace owners

A framework that can help explain to the user why and how these recommendations are made is missing

This issue tracks work in improving the extension recommendation system and will span over several iterations.

Things to achieve

  • Users should understand why a recommendation is being made. A recommendation can be
    • based on current file type
    • based on current workspace
    • history of types of files opened
  • Recommendations should be relevant. For example: User opens a php file long time ago, gets recommendation for a php extension, never again opens a php file. The recommendation continues to show up today. Files/workspaces used more often should influence recommendations than files/workspaces rarely used
  • Recommendations list should be short and well sorted as per relevance. For example: the recommendation for current file type and workspace can show up before the ones based on historical usage (moved to September milestone)

We need telemetry in place to

  • determine whether recommendations are successful
  • assess the success of different ways of presenting recommendations
  • associate extensions with features like format/lint/completion/outline etc This can in the future help in recommending by category (moved to September milestone)
@vscodebot vscodebot bot added the extensions Issues concerning extensions label Aug 13, 2017
@ramya-rao-a ramya-rao-a self-assigned this Aug 13, 2017
@ramya-rao-a ramya-rao-a added this to the August 2017 milestone Aug 13, 2017
@jens1o
Copy link
Contributor

jens1o commented Aug 13, 2017

Sounds great, because personally I have disabled that view, because I don't need those extensions that are suggested.

How do you want to improve the algorithm?

@ramya-rao-a
Copy link
Contributor Author

Adding a way to calculate relevance of an extension recommendation can help in pruning the list.
Currently extensions recommended by file type gets stored in the local storage and they appear in the recommended view.

The simplest way to go about this is storing a timestamp along with the recommendation. If that date is more than a week old, the extension is removed from the list.

cc @sandy081 @kieferrm @seanmcbreen

@ramya-rao-a ramya-rao-a changed the title Improve extension recommendations Improve extension recommendations (August milestone) Aug 31, 2017
@gep13
Copy link
Contributor

gep13 commented Nov 15, 2017

@ramya-rao-a would it be possible to add an entry onto the list of extensions mapped to filetypes maintained by the VS Code team.?

Ideally, if there is a .cake file in the current workspace, it would be great if the user were recommended to add the Cake Extension:

https://marketplace.visualstudio.com/items?itemName=cake-build.cake-vscode

Thanks

@ramya-rao-a
Copy link
Contributor Author

@gep13 That's a valid request. I have created an issue to track this. See #38543
Once we have a good list there and few of us from the team verify the extensions, we will update the recommendations

@gep13
Copy link
Contributor

gep13 commented Nov 16, 2017

@ramya-rao-a that is great, thank you!

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Issues concerning extensions on-testplan
Projects
None yet
Development

No branches or pull requests

3 participants