Sublime Forum

Do f strings work?

#1

New to the forum and just downloaded sublime. First thing I did was setup my Python environment and noticed that f strings do not work…not sure if this is because of the version of python associated with sublime or not. Could someone kindly give an explanation regarding “f strings”? Do they work? Are there plans to address this?

thanks very much

0 Likes

#2

Sublime Text’s plugin runtime uses Python 3.3, which does not support f-strings.

0 Likes

#3

thanks very much

0 Likes

#4

That said, this only applies to running plugins within ST (or by using it’s embedded console for … stuff). If you have Python installed on your system, ST does not care about which version it is and you can use whatever is supported by that version and your tooling built around it, e.g. a linter. ST’s syntax highlighting supports everything syntax-wise including 3.7.

1 Like

Does Python f-strings work?