Handle inline comments - #3
Draft
adammw wants to merge 7 commits into
Draft
Conversation
adammw
force-pushed
the
adammw/inline-comments
branch
2 times, most recently
from
August 1, 2024 02:09
a19fb56 to
2eeeb3c
Compare
adammw
marked this pull request as draft
August 1, 2024 02:18
adammw
force-pushed
the
adammw/inline-comments
branch
2 times, most recently
from
August 1, 2024 02:24
b6e4ec2 to
ca16b99
Compare
adammw
force-pushed
the
adammw/inline-comments
branch
from
August 1, 2024 02:39
ca16b99 to
b8cca85
Compare
adrienpoly
added a commit
to adrienpoly/psych-comments
that referenced
this pull request
Mar 4, 2025
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Allows psych-comments gem to parse inline comments and round-trip them back to exported YAML
Example:
Why
Mostly because I didn't see that this had already been attempted in #2 😓 and was looking to use this feature in a custom linter/fixer, but the reformatting of inline comments was a deal-breaker.
Tasks