You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you try to leave a comment before a catch statement, it will be indented. This is a bit of an eyesore when you're trying to comment on what sort of error you're catching for instance. Here is what I mean:
# I want to do thing
try
thing
# This comment is indented no matter what :(
catch e
something_else
end
And here is what would look better in my opinion:
# I want to do thing
try
thing
# This comment is indented no matter what :(
catch e
something_else
end
Or perhaps without the newline before the comment.
The text was updated successfully, but these errors were encountered:
Hi!
Currently, if you try to leave a comment before a
catch
statement, it will be indented. This is a bit of an eyesore when you're trying to comment on what sort of error you're catching for instance. Here is what I mean:And here is what would look better in my opinion:
Or perhaps without the newline before the comment.
The text was updated successfully, but these errors were encountered: