-
-
Notifications
You must be signed in to change notification settings - Fork 55
Add string rewriting assists #69
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
Conversation
oxalica
left a comment
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.
This PR is quite complicated. It would be better to split them into multiple small assists since they share no common code. Documentations can be added on individual fns. But they can still live in one mod.
About naming, my suggestion is to use the form rewrite_<from>_to_<to> for rewriting assists.
rewrite_uri_to_stringrewrite_string_to_indentedrewrite_indented_to_string
quote_attr and unquote_attr are okay to me.
Finally, don't forget to append to docs/code_actions.md.
#39 (comment)