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
Amazing work on sourceror! It has been a very powerful tool for the growth of the Elixir community. I am wondering if it makes sense to move the leading_comment and trailing_comments metadata to Elixir. In particular:
Add a include_comments option to string_to_quoted which attaches it to the relevant nodes
Change the formatter to look for comments in the metadata instead of a separate value
I believe this should simplify the handing of comments here. Do you think this is desirable?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi Jose! I think that's a great idea. A few years ago I would have been a bit hesitant but now I think leading_comments and trailing_comments satisfies most of the use cases of the community. Having all that and the formatting be part of elixir instead of a third party library would be great!
Hi @doorgan,
Amazing work on sourceror! It has been a very powerful tool for the growth of the Elixir community. I am wondering if it makes sense to move the leading_comment and trailing_comments metadata to Elixir. In particular:
include_comments
option tostring_to_quoted
which attaches it to the relevant nodesI believe this should simplify the handing of comments here. Do you think this is desirable?
Thank you!
The text was updated successfully, but these errors were encountered: