Auto convert % and format to f-string #2639
Replies: 6 comments 1 reply
-
Thanks for the suggestion @wuyudi, will add this to our enhancement list. |
Beta Was this translation helpful? Give feedback.
-
Moving this issue to discussion as an enhancement request for comments and upvotes. |
Beta Was this translation helpful? Give feedback.
-
Or vice-versa, a way to convert an f-string to one of the latter two, as I repeatedly find myself adding new variables to fstrings and then needing to rewrite to avoid hitting a line-length limit. |
Beta Was this translation helpful? Give feedback.
-
I find this can do auto-convert, and many more other things. |
Beta Was this translation helpful? Give feedback.
-
There's also the case of simply forgetting the |
Beta Was this translation helpful? Give feedback.
-
oh, this solves it https://github.com/ikamensh/flynt |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There are three types of formatting a string. Is it possible to add a yellow bulb to suggest converting the last two to f-string automatically?
Beta Was this translation helpful? Give feedback.
All reactions