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

Initial work to move indentation services down to codestyle layer (step 7/N) #60448

Merged
merged 12 commits into from
Mar 29, 2022

Conversation

CyrusNajmabadi
Copy link
Member

Followup to #60445

This PR moves the bulk of the indentation logic down to the code-style layer. The work is almost complete, but will likely need more work to make it usable by fixers at the code-style layer.

I'm doing these PRs in multiple parts to make things simpler to review. Every time i try to tackle the general problem, it explodes into a ton of changes.

The reason for this change overall is that we have fixers taht need to know indentation information. For example, the 'convert to file-scoped-namespace (and reverse)' fixes have to know indentation information so it can make the right fixes. Not having indentation info be available at thsi level means that the fixes are constrained to the VS host.

@davidwengier
Copy link
Contributor

I'm doing these PRs in multiple parts to make things simpler to review

I appreciate the effort, but I'm not sure it worked 😛

@CyrusNajmabadi CyrusNajmabadi merged commit 62f85a4 into dotnet:main Mar 29, 2022
@ghost ghost added this to the Next milestone Mar 29, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the indentationDown7 branch March 29, 2022 14:39
@dibarbet dibarbet modified the milestones: Next, 17.3.P1 Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants