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

Generalize RoamingProfileStorageLocation to ClientSettingsStorageLocation #62684

Merged
merged 2 commits into from
Jul 16, 2022

Conversation

tmat
Copy link
Member

@tmat tmat commented Jul 15, 2022

Generalize RoamingProfileStorageLocation to ClientSettingsStorageLocation that can be used to access VS Settings storage regardless of whether the option roams or not.

Replace LanguageSettingsPersister with LocalClientSettingsStorageLocation (subclass of ClientSettingsStorageLocation that does not roam).

Manually tested that all settings previously handled by LanguageSettingsPersister still work.

Follow ups:

Fixes #56815
Fixes #43393
Closes #46167 (by virtue of code no longer existing)
Fixes #29602
Fixes AB#1424294

@tmat tmat requested review from a team as code owners July 15, 2022 20:04
@tmat tmat marked this pull request as draft July 15, 2022 20:11
@tmat tmat marked this pull request as ready for review July 15, 2022 20:15
Copy link
Member

@jasonmalinowski jasonmalinowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And there was much rejoicing that the LanguageSettingsPersister is gone.

tmat added 2 commits July 15, 2022 17:50
…tion that can be used to access VS Settings storage regardless of whether the option roams or not.

Replace LanguageSettingsPersister with LocalClientSettingsStorageLocation (subclass of ClientSettingsStorageLocation that does not roam).
@tmat tmat enabled auto-merge (squash) July 16, 2022 00:50
@tmat tmat merged commit 51cc7c9 into dotnet:main Jul 16, 2022
@ghost ghost added this to the Next milestone Jul 16, 2022
@davidwengier
Copy link
Contributor

I love the idea that while I was asleep, a PR was created, and merged, that fixes a bug I was assigned to. Thank you :)

(and hopefully doesn't break VS Mac 😛)

@tmat tmat deleted the SettingsMgr branch July 16, 2022 04:39
@tmat tmat mentioned this pull request Jul 16, 2022
73 tasks
@tmat tmat modified the milestones: Next, 17.4 Jul 16, 2022
allisonchou added a commit to allisonchou/roslyn that referenced this pull request Jul 18, 2022
JoeRobich added a commit that referenced this pull request Jul 18, 2022
tmat added a commit to tmat/roslyn that referenced this pull request Jul 18, 2022
333fred added a commit to 333fred/roslyn that referenced this pull request Jul 18, 2022
* upstream/main: (40 commits)
  Revert "Generalize RoamingProfileStorageLocation to ClientSettingsStorageLocation (dotnet#62684)"
  Revert "Update SymReader to the latest version (dotnet#62695)"
  Apply changes directly to text buffer - take 2 (dotnet#62617)
  Allow diagnostic tagging to use either push or pull diagnostics
  Tests test and more tests
  Fix new rename showing overloads when not applicable (dotnet#62559)
  Add stronger type safety
  Add support for resolving contextual error types
  Pass LineFormatting options into OmniSharpCodeAction options
  Initial approach to supporting contextual types
  Update dependencies from https://github.com/dotnet/arcade build 20220715.4 (dotnet#62704)
  Handle diff3 conflict markers (dotnet#62391)
  Update SymReader to the latest version (dotnet#62695)
  Generalize RoamingProfileStorageLocation to ClientSettingsStorageLocation (dotnet#62684)
  Add IWorkspaceProjectContextFactory F# wappers (dotnet#62646)
  Use OmniSharp LineFormatting fallback options in more places.
  Remove dependency on Microsoft.VisualStudio.RemoteControl assembly from Features (dotnet#62655)
  Add array initialization optimization (dotnet#62392)
  [main] Update dependencies from dotnet/arcade (dotnet#62597)
  Keep selection on rename invocation (dotnet#62654)
  ...
adamperlin pushed a commit to adamperlin/roslyn that referenced this pull request Jul 19, 2022
…tion (dotnet#62684)

Generalize RoamingProfileStorageLocation to ClientSettingsStorageLocation that can be used to access VS Settings storage regardless of whether the option roams or not.

Replace LanguageSettingsPersister with LocalClientSettingsStorageLocation (subclass of ClientSettingsStorageLocation that does not roam).
adamperlin pushed a commit to adamperlin/roslyn that referenced this pull request Jul 19, 2022
tmat added a commit that referenced this pull request Jul 27, 2022
tmat added a commit to tmat/roslyn that referenced this pull request Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment