Fix child element indentation in multiline lists#3827
Closed
saschanaz wants to merge 34 commits intomicrosoft:masterfrom
Closed
Fix child element indentation in multiline lists#3827saschanaz wants to merge 34 commits intomicrosoft:masterfrom
saschanaz wants to merge 34 commits intomicrosoft:masterfrom
Conversation
This was referenced Jul 11, 2015
Closed
Contributor
Author
|
Now waiting feedback. |
|
So after the fix we have: this means probably we will have this: and seems that by unwrapping return we will have this: Is that correct? Honestly I don't like situation when function parameters are indented at same level as its function call. |
Contributor
Author
|
@wgebczyk No, this fix will affect only when:
foo({ // An object literal starts in the first line
}, // An object literal ends in the second line, not the first line
3 // Thus, no additional indentation here
),
foo(
{ // starts in the second line
},
3 // Additional indentation here
);
foo({}, // starts and ends in the first line
3 // Additional indentation here
); |
|
Seems to be reasonable. Thanks! |
…rterParamListIndentFix
Contributor
|
@vladima can you take a look? |
09b168d to
f52aa4b
Compare
… shorterParamListIndentFix
This was referenced Jul 29, 2016
… shorterParamListIndentFix
3bba7c4 to
6b27eaf
Compare
… shorterParamListIndentFix
|
can we merge it please? |
Contributor
Author
|
I'm closing this because this is incompatible with new PR #13574. I will open a cleaner PR if it is merged. |
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.
Fixes #3817, fixes #5834, fixes #9437.
Please don't do commit-by-commit review as some intermediate changes were later removed.
Note (July 1, 2016): This sadly reverts #8364.
Input:
Fix: