-
Notifications
You must be signed in to change notification settings - Fork 29.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
Allow for reindenting only selected text #35594
Conversation
I and my friend are waiting this PR. |
@nolanpro sorry for responding too late. Do you mind rebasing against latest code and then our test suites can pass? The code looks good to me, once all checks are good let's merge it! |
f0e6af1
to
1904cb8
Compare
@rebornix Ok rebased and tests passing. Thanks! |
@rebornix rebased again just now |
@rebornix I am waiting this PR too !!! |
+1 |
Any news? |
if (selection.isEmpty()) { continue; } | ||
selections.push(selection); | ||
} | ||
|
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.
We don't need two for loops here, let's merge them into one.
I think this PR is no longer needed. Because of #47116. |
Yup, closing in favor of #47116 |
Based on feedback from, #28658. Particularly #28658 (comment)
@rebornix This would be very helpful for me and it looks like selection is already supported for
getReindentEditOperations
, it just needed to be wired up.