Repository navigation
Adding [Reindent Selected Lines] command. - #47116
Merged
Merged
Conversation
added 2 commits
April 3, 2018 12:51
Koji Murata (malt03)
force-pushed
the
master
branch
from
April 3, 2018 03:51
48e5f50 to
9201098
Compare
Author
|
roblourens Peng Lyu (@rebornix) What can I do to merge this pull request? |
Peng Lyu (rebornix)
self-requested a review
April 17, 2018 18:15
| } | ||
| } | ||
|
|
||
| if (edits) { |
Contributor
There was a problem hiding this comment.
edits is an array so this condition is always true, let's check its length.
| startLineNumber--; | ||
| } | ||
| let editOperations = getReindentEditOperations(model, startLineNumber, endLineNumber) || []; | ||
| for (let editOp of editOperations) { |
Contributor
There was a problem hiding this comment.
maybe edits.push(...editOperations) is good enough.
Contributor
|
Koji Murata (@malt03) just two tiny recommendations, let's fix them and then merge. |
Author
|
Peng Lyu (@rebornix) Thank you a lot!! |
Author
|
Peng Lyu (@rebornix) When will this be merged? |
Contributor
|
Koji Murata (@malt03) didn't find time to review my issues/prs last week. Merged it now, you can see it from Friday's Insdiers build and Stable release for May. Sorry that I didn't make it in April release. |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Overview
This PR will add a command named 'Reindent Selected Lines'.
#19847
#28658 (comment)
Screenshot
Note