basedpyright
basedpyright copied to clipboard
automatically convert a regular string to `f` string when you type a curly bracket inside a string
I don't think I've noticed this in pylance - is this behind a config? (Asking because this is tagged pylance parity) Usually I just get the dark blue format-string highlight in VSCode until I add the f prefix and start getting proper highlighting + completion.
I'd find it useful though! I rarely use old-style format strings nowadays.
Edit: Never mind! Just found it - python.analysis.autoFormatStrings
thanks, i forgot it wasn't enabled by default