user443854
user443854

Reputation: 7473

pycharm: how to type a single quote?

How can I type a single quote, without pycharm automatically inserting a closing quote? For example, typing ' in front of {}:

'''say {}'''.format('a')

results in

'''say ''{}'''.format('a')

whereas what I want is

'''say '{}'''.format('a')

The intent is to enclose {} in single quotes.

Upvotes: 2

Views: 1885

Answers (1)

Nafiul Islam
Nafiul Islam

Reputation: 82590

Disable it like so:

enter image description here

Disable the pair quote and you will not have this problem.

Upvotes: 2

Related Questions