Allow toggling fstring using keyboard shortcut (vscode command) #6495
jd-solanki
started this conversation in
Enhancement
Replies: 1 comment
-
Oh, This is now converted into discussion 🤔 Isn't anyone facing this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
I really like the
autoFormatStrings: true
feature. It allows me to auto prepend thef
to the string when I use variable.However, In cases like fastapi path parameter and other previously mentioned cases we might get unwanted
f
prepended to the string. I admit that figuring out this kind of caes it not LSP's job so how can we improve this situtation?Solution
Providing keyboard shortcut (basically vscode command) to toggle the fstring will be time saver in these kind of cases.
This will benifit both people who turned of the
autoFormatStrings
feature and for those we want this but want to avoid unwanted auto-prefix.Beta Was this translation helpful? Give feedback.
All reactions