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

Quick fix idea for $ #55735

Open
bernaferrari opened this issue May 15, 2024 · 2 comments
Open

Quick fix idea for $ #55735

bernaferrari opened this issue May 15, 2024 · 2 comments
Labels
analyzer-quick-fix area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P4 type-enhancement A request for a change that isn't a bug

Comments

@bernaferrari
Copy link
Contributor

I think it would be nice if I could have a quickfix for this:

image

Example:

"$123"

=>

"\$123"

I copied a JSON into Dart and needed to manually unscape some elements manually. Wish I could quick fix all with a single shortcut.

@mraleph
Copy link
Member

mraleph commented May 15, 2024

@bernaferrari why not just r"$10.99"?

@bernaferrari
Copy link
Contributor Author

Could be too.. I'm fine with either. Just flagging I spent some time manually fixing it today.

@bwilkerson bwilkerson added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-quick-fix type-enhancement A request for a change that isn't a bug labels May 15, 2024
@scheglov scheglov added the P4 label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-quick-fix area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P4 type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants