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.
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
When merging yaml files comments on the last element of existing block are placed at the wrong line #4671
When merging yaml files comments on the last element of existing block are placed at the wrong line #4671
Changes from 22 commits
28a6590
b6b4c5a
9445c84
ddcf04d
a6a2d86
3aa8750
d95f334
2145370
de92ccf
97bffa9
0317b77
643bfd1
237270e
bd350d8
cf6e9de
2c3f52f
4bc691b
de2a316
5b141fc
0eca879
5b37a93
17a0059
34b5f9d
1381e9f
6c30223
21f09ca
6beb846
0f7e1b0
bec84ea
b43cbc0
44a26ff
993426a
efb880d
cf2fe00
8d58882
1f5e5ac
6597ec8
b51d7dc
66cdfd2
4ffc9fb
9537d4f
4161e15
be1ea5c
5437ae9
7089d03
08d2f01
43fa06a
48d993c
019ab7d
60b60c0
324712c
93d6bf9
57fe826
1067c48
d21afa9
35948c7
7454f5e
1500bf0
038b708
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I actually don't like very much that I needed to put this here; I would rather keep the cursor messages locked in the
MergeYamlVisitor
class. I couldn't make it work though, because thevisitDocument
will not be called in that class.If I overlooked something please let me know! It would be really nice to let this MergeYaml visitor file untouched.
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.
Workaround fixes only so many cases; should be removed in the future and done in the parser:
MergeYaml
block indentation not as expected #4358