-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Move Options and CodeStyle APIs to shared layer #42323
Merged
Merged
Changes from 8 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
6692e76
Move common Options and CodeStyle related public and internal types i…
mavasani cd860f7
Add API overloads for new shared layer options types to options servi…
mavasani a2c78bd
Make similar changes to FormattingOptions and C# FormattingOptions - …
mavasani 762c09c
Some more follow-up changes in CodeStyle related files
mavasani 2848a31
Updating formatting rules and engine to use the shared layer formatti…
mavasani 70b4089
VB CodeStyle related changes. We still haven't moved VB CodeStyle opt…
mavasani 3ba9025
Move bunch of options in Workspaces and Features layers to use the ne…
mavasani 7077431
Move the base CodeStyle and naming analyzer to the new options relate…
mavasani 30b4e99
Some cleanup
mavasani e96fd8f
VB formatting engine and rules moved to new formatting options API in…
mavasani e182acd
Move all the shared layer analyzers to use the new options and code s…
mavasani 2143656
Move all the IDE (Features layer) analyzer to the new options and cod…
mavasani a9da22c
Add BannedSymbols.txt for Features layer to prevent accidental use of…
mavasani b9cf84d
Changes to CodeStyle layer to delete linked files and trim public APIs
mavasani 00b3593
Move EditorFeatures layer to new options types
mavasani 6e1e5dd
Move VS layer and some of the options it depends on to the new intern…
mavasani 74b90a8
Move part of EditorConfigFileGenerator that can serialize naming opti…
mavasani f1b4348
Split the CodeStyle test utilities project into separate projects for…
mavasani cbead33
Fix some build and test failures
mavasani e4c7e8e
Cleanup the conditional directives in analyzer/fixer tests in shared …
mavasani 7e3c47e
Tons of test changes to move them to the new Options APIs.
mavasani c765e1f
Commit for all project file, resx moves and xlf file changes.
mavasani 11d03e1
Fix nullable warning
mavasani 80a215d
Merge remote-tracking branch 'upstream/master' into OptionsRefactor
mavasani d6bc6f6
Merge remote-tracking branch 'upstream/master' into OptionsRefactor
mavasani 193ac53
Use OptionDefinition to ensure options are equtable - this is needed …
mavasani 8b547f4
Merge remote-tracking branch 'upstream/master' into OptionsRefactor
mavasani b704f66
Fix merge conflict
mavasani c45db4c
Override equality operators
mavasani fb10c5e
Retain the exception checks from public APIs - these are guarded by u…
mavasani 04056c0
Switch to explicit conversion operators between option types
mavasani de4d5d9
Merge remote-tracking branch 'upstream/master' into OptionsRefactor
mavasani 7301aa3
Fix merge conflicts
mavasani 0ff090f
Add inheritdoc documentation comments for public Options API. I will …
mavasani f47f6d1
Fix test failures caused by prior commit
mavasani 50287de
Switch back to implicit operators for conversions to and from CodeSty…
mavasani 4985a18
Address feedback
mavasani 0066c5c
Merge remote-tracking branch 'upstream/master' into OptionsRefactor
mavasani f52f4fe
Revert unintentional commit
mavasani 736ba89
Address more feedback
mavasani 0f22449
Merge remote-tracking branch 'upstream/master' into OptionsRefactor
mavasani 9793b0b
Fix build break from the refactoring in the prior commit
mavasani 6192d8e
Revert changes to PythiaOptions in ExternalAccessLayer
mavasani 759dc07
Fix RS0038 (use null instead of default) in test code
mavasani e8464de
Merge remote-tracking branch 'upstream/master' into OptionsRefactor
mavasani 8961e3b
Revert API changes to options used by internal partners through IVT
mavasani d02be0c
Revert changes to EditorComponentOnOffOptions - these are actually no…
mavasani 02f40aa
Add back cref to PreferBracesPreference.WhenMultiline
mavasani a56b5a7
Enable nullable reference types for operators
sharwell 717c508
Unwrap CodeStyleOption<T> without allocating
sharwell 17ce912
Improve accuracy of TestHostAnalyzers
sharwell c533f82
Use explicit operators, since they are no longer used implicitly
sharwell 6878054
Ensure that we use "CodeStyleOption" as the serialization element nam…
mavasani f139867
Address feedback
mavasani 6aa9798
Add matrix of tests for Get/Set option APIs on OptionSet and OptionSe…
mavasani 81ff9eb
Address feedback
mavasani 17fbad5
Merge remote-tracking branch 'upstream/master' into OptionsRefactor
mavasani 4c01f51
Merge remote-tracking branch 'upstream/master' into OptionsRefactor
mavasani 950b3b6
Fix conflicts
mavasani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A rare case where
#if CODE_STYLE
in a helper methods file is helping avoid duplicate code, which needs to operate on core fields ofIOption
andIOptions
.