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

Test apply a setting / extension to all profiles #188614

Closed
2 tasks done
sandy081 opened this issue Jul 23, 2023 · 0 comments
Closed
2 tasks done

Test apply a setting / extension to all profiles #188614

sandy081 opened this issue Jul 23, 2023 · 0 comments

Comments

@sandy081
Copy link
Member

sandy081 commented Jul 23, 2023

Refs: #157492, #176813

Complexity: 4

Create Issue


Set up

Have at least one profile in addition to the default profile - https://code.visualstudio.com/docs/editor/profiles

Test Applying a setting across profiles

You can have a setting to be applied across all profiles from the settings editor.

  • Open Settings UI and go to User settings tab and there will be action Apply Setting to all Profiles under the cog wheel of a setting.
  • When a setting is marked to be applied for all profiles, then changing its value from any profile will affect in all profiles. For eg: if files.autoSave is marked and set to afterDelay then every profile will have auto save enabled.
  • Test toggling this action is working as expected across profiles
    • Note that this actions will not be available on some settings which behave like this by default. Eg: update.mode.
  • Test that these changes are synced across machines when you have settings sync is on. (You can use different user-data-dir and extensions-dir and launch VS Code for testing syncing)

Test Applying an extension across profiles

Similar to settings, you can have an extension that can be applied across all profiles from the extensions view.

  • Open Extensions View there will be an action Apply Extension to all Profiles under the cog wheel of an Installed Extension
  • When an extension is marked to be applied for all profiles, then updating/uninstalling it from any profile will affect in all profiles.
  • Test toggling this action is working as expected across profiles
    • Note that this actions will not be available on some extensions which behave like this by default. Eg: Language Pack Extensions.
  • Test that these changes are synced across machines when you have settings sync is on. (You can use different user-data-dir and extensions-dir and launch VS Code for testing syncing)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants