Skip to content

Allow for reindenting only selected text - #35594

Closed
Nolan Ehrstrom (nolanpro) wants to merge 1 commit into
microsoft:masterfrom
nolanpro:master
Closed

Nolan Ehrstrom (nolanpro) wants to merge 1 commit into
microsoft:masterfrom
nolanpro:master

Conversation

@nolanpro

Copy link
Copy Markdown

Based on feedback from, #28658. Particularly #28658 (comment)

Peng Lyu (@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.

@msftclas

Microsoft Contribution License Agreements (msftclas) commented Oct 4, 2017 •

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@OTL

Copy link
Copy Markdown

I and my friend are waiting this PR.

@alexdima Alexandru Dima (alexdima) removed their assignment Nov 14, 2017
@rebornix

Copy link
Copy Markdown
Contributor

Nolan Ehrstrom (@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!

@nolanpro

Copy link
Copy Markdown
Author

Peng Lyu (@rebornix) Ok rebased and tests passing. Thanks!

@nolanpro

Copy link
Copy Markdown
Author

Peng Lyu (@rebornix) rebased again just now

@malt03

Copy link
Copy Markdown

Peng Lyu (@rebornix) I am waiting this PR too !!!

@ino256

Copy link
Copy Markdown

+1

@hackhowtofaq

Copy link
Copy Markdown

Any news?

if (selection.isEmpty()) { continue; }
selections.push(selection);
}

Copy link
Copy Markdown
Contributor

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.

@malt03

Copy link
Copy Markdown

I think this PR is no longer needed. Because of #47116.

@nolanpro

Copy link
Copy Markdown
Author

Yup, closing in favor of #47116

@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants