Skip to content
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

rubyfmt ignores embdoc comments (=begin and =end comments) #417

Open
reese opened this issue Feb 22, 2023 · 1 comment
Open

rubyfmt ignores embdoc comments (=begin and =end comments) #417

reese opened this issue Feb 22, 2023 · 1 comment
Assignees

Comments

@reese
Copy link
Collaborator

reese commented Feb 22, 2023

Input file

=begin
  Bees, bees, not the bees!
=end

Rubyfmt's output


This breaks because

These comments should stick around! I don't think many people use them, but we should probably support them anyways. If anyone is interested in doing this, there are some docs here on how this is handled in Ripper.

@mcmire
Copy link

mcmire commented Feb 23, 2023

+1 on including support for these style of comments. I often use these as a quick way of commenting out large blocks of code.

@reese reese self-assigned this Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants