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

Built-in Profiles #166359

Closed
isidorn opened this issue Nov 15, 2022 · 10 comments
Closed

Built-in Profiles #166359

isidorn opened this issue Nov 15, 2022 · 10 comments
Assignees
Labels
on-release-notes Issue/pull request mentioned in release notes on-testplan plan-item VS Code - planned item for upcoming user-profiles User profile management
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Nov 15, 2022

We should have some Built-In profiles to help users more easily get setup with VS Code.
Profiles should not be extension / language specific but instead specific to the job the user needs to do. For example:

  • Text Editor profile (minimalistic, hides UI and makes the editor the center of the experience)
  • Document writer profile
  • Data scientist profile
  • Out of the box profile (we could ask users to use this profile when reproducing issues - bot could advertise it)

VS Code default settings are not cool, and profiles should also be used as a way to make the popular VS Code customisations more discoverable. Profiles should be opionated! There's even a website that helps with this https://makevscodeawesome.com/
The built-in profiles should be surfaced in the Welcome view and probably under the Profiles menu (maybe a submenu).

@isidorn isidorn added plan-item VS Code - planned item for upcoming user-profiles User profile management labels Nov 15, 2022
@isidorn isidorn added this to the December 2022 milestone Nov 15, 2022
@isidorn
Copy link
Contributor Author

isidorn commented Nov 22, 2022

@joaomoreno had a great idea that we should also link from our Docs - so in Python docs => "Would you like to apply a profile for Python, click here". User clicking on this would open VS Code and offer to apply a profile. Same for other languages. So this will connect well our website docs to the experience in VS Code.

@gregvanl @luabud what do you think?

@luabud
Copy link
Member

luabud commented Nov 23, 2022

I love the idea! We have some tutorials that could benefit from profiles as well, like the getting started and the web development ones.
I agree with the idea of making profiles specific to the job to be done, but given there are different frameworks that are used for the similar goals (e.g. Django, Flask and FastAPI) and each one may require different configs, is the idea that we'd offer different profiles per framework, or would it be just one profile that would include configs for all of the supported frameworks (in this case, to offer support for web development with Python more generally?)

@isidorn
Copy link
Contributor Author

isidorn commented Nov 24, 2022

@luabud good question. Depends on the case - I suggest to best write down what would go inside the Django profile, what would go in the Flask profile, in the FastAPI one etc. And then see how much overlap there is. If there is a lot of overlap (like I think there will be) then the best is to have one Python Web Development profile.

@joaomoreno
Copy link
Member

joaomoreno commented Nov 30, 2022

We should have some Built-In profiles to help users more easily get setup with VS Code.

I'm not entirely sure it's a good idea to have built-in profiles out of the box. What VS Code should do is drive users to profiles, in certain areas of the product, ie Getting Started, docs, etc.

Building on top of #167700, https://vscode.dev/profile could be a good entrypoint for a few useful profiles.

@alexdima
Copy link
Member

I personally don't think of profiles in terms of the job I'm trying to do (I'm always doing the same job in my world view), but in terms of the technology and extensions I need to get things done.

  • If I work on a Rust project, I want the rust-analyzer extension, but I don't want to deal with rust-analyzer in any other projects.
  • If I work on VS Code I want eslint, vscode selfhost test provider and PR pinger extensions, but I don't want them anywhere else
  • If I work on vscode-docs I want the markdown preview github styling extension, but I don't want this anywhere else.

I would therefore find it useful for VS Code to have a Rust profile out of the box that could help me get great Rust experience in VS Code, or a Java profile for the same, etc. And all of this without interfering with my other projects.

@theonlyfoxy
Copy link

theonlyfoxy commented Jan 3, 2023

Maybe even Built-in Marketplace for Profiles :)

@isidorn
Copy link
Contributor Author

isidorn commented Feb 20, 2023

We have started discussions about this, but due to the short milestone I am pushing this out to March to continue work then.

@Binboukami
Copy link

(...) What VS Code should do is drive users to profiles, in certain areas of the product, ie Getting Started, docs, etc.

An introduction to the profiles feature could be added into one of the walkthroughs displayed on the Welcome page.

Maybe under the settings and extensibility topics.

image

@isidorn
Copy link
Contributor Author

isidorn commented Mar 17, 2023

Discussed with @sandy081 on how to surface built-in profiles in VS Code and here are our notes:

  • Surface it in welcome view, captured in Consider adding Profile entry point in Getting Started #174495
  • Remove the "Import Profile" action in the Profiles view. Leave it only in the Command Palette
  • Add the "Create from Profile File" and "Create from Profile URL" to the "Create Profile..." quick pick
  • For each built-in profile add the "Create a NAME Profile" to the end of the "Create Profile..." quick pick. For example "Create Data Science Profile"
  • Create an Empty and Create from Current should just create the profile, all the other flows should show the Import view with the profile content

@sandy081 sandy081 modified the milestones: March 2023, April 2023 Mar 20, 2023
@sandy081 sandy081 added on-testplan release-notes Release notes issues labels Apr 20, 2023
@sandy081
Copy link
Member

Builtin profile templates are now supported in the Create flow

image

@sandy081 sandy081 removed the release-notes Release notes issues label Apr 20, 2023
@sandy081 sandy081 added the on-release-notes Issue/pull request mentioned in release notes label May 2, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
on-release-notes Issue/pull request mentioned in release notes on-testplan plan-item VS Code - planned item for upcoming user-profiles User profile management
Projects
None yet
Development

No branches or pull requests

7 participants