-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Code Quality: Code cleanup and formatting #11156
Conversation
Oh god, this is going to be fun to review |
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.
Looks good, except for some cases
src/Files.App/DataModels/NavigationControlItems/LocationItem.cs
Outdated
Show resolved
Hide resolved
src/Files.App/Interacts/BaseLayoutCommandImplementationModel.cs
Outdated
Show resolved
Hide resolved
src/Files.App/ViewModels/SettingsViewModels/AdvancedViewModel.cs
Outdated
Show resolved
Hide resolved
src/Files.App/ViewModels/SettingsViewModels/AdvancedViewModel.cs
Outdated
Show resolved
Hide resolved
@ferrariofilippo Done! Thank you for reviewing all of this, anyway. |
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.
LGTM
@yaira2 Can you review? |
src/Files.App/Serialization/Implementation/CachingJsonSettingsDatabase.cs
Outdated
Show resolved
Hide resolved
src/Files.App/Serialization/Implementation/CachingJsonSettingsDatabase.cs
Outdated
Show resolved
Hide resolved
src/Files.App/ViewModels/SettingsViewModels/FoldersViewModel.cs
Outdated
Show resolved
Hide resolved
@yaira2 Ready for re-review BTW, What do you think of the order of Constructors, Fields, Properties, Methods? (wont include those changes in this) My thought: // Constructors
// Fields and Properties
// Methods Some codes have properties which placed above class constructor. Should have an specification. |
@onein528 they might need to be cleaned up a bit if things are out of order, I wouldn't go do that throughout the whole codebase now since it'll take a long time to review but I'd recommend making the change to the file in question. |
Also, I have a suggestion of correcting of naming of some namespaces (wont include those changes in this)
|
@onein528 please let me know when you addressed a conversation and I'll resolve it from my side. |
@yaira2 DONE! |
OK, then. Thanks! |
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.
Thank you
Resolved / Related Issues
None
Change Overview
if
,else
embedded statement when it is one line.switch
expressionUnchanged files
Validation
How did you test these changes?
Screenshots (optional)
None