Saturday, 28 December 2019

F string autocomplete python

When using f strings in Python 3 for Atom, it doesn't autocomplete the string correctly. Typing in

types_of_people = 10
x = f"There are {types_of_people} types_of_people."

I get x = f"... when I start typing but the end quote doesn't autocomplete

When I type in the ending quote I get x = f"There are {types_of_people} types_of_people."""

How can I get the end quote to autocomplete as desired?

I went to this link. But atom still prints additional quotes when I am typing the end quote, instead of just giving the end quote.

atom.io site



from F string autocomplete python

No comments:

Post a Comment