Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add Auto Brackets in Visual studio Code like in JetBrains IDE?

Using PyCharm, I would just type print and it would automatically add brackets once I pressed Enter. Is there an extension to this in VS Code?

So I would just have to type the name of, for example, a function I defined and while calling it, I would just type functionName and press Enter (return) and it would display: functionName()

like image 950
Virej Dasani Avatar asked Jan 25 '26 23:01

Virej Dasani


1 Answers

Try Pasting this in settings.json:

"python.analysis.completeFunctionParens": true
like image 169
Aprameya Mandal Avatar answered Jan 28 '26 17:01

Aprameya Mandal