Sublime Forum

Single curly brace versus double parenthesis and brackets

#1

Hello, i am a python dev.
I like the feeling to get double parenthesis and brackets on key press.
But now, i get only a single curly brace , it is uncomfortable.
Could you please provide double curly braces instead ?
thank you so much for you excellent tool.


EDIT : this behaviour comes when i am writting f-string

print( ==AUTO==> print()
print(") ==AUTO==> print("")
print("{") ----> here it lacks auto adding the closing curly brace.

0 Likes

#2

Auto-pairing is handled by key bindings. While default bindings may require some improvements, each syntax may have its own needs with regards to when pairing is likely to be wanted.

Some python specific improvements are pending for review/acceptence at

0 Likes