skip to Main Content

When I write the code, the hint will show up and I just have to press enter. For example when type print and enter I will get print(). But after updating vscode there is no more () ? people got ocd like me are uncomfortable 🙁

I want to bring my brackets again

2

Answers


  1. If you go to settings then type in bracket in the search bar. This may provide you with a way to turn them back on. Not sure though I looked and couldn’t find something obvious.

    Login or Signup to reply.
  2. Are you trying to achieve this effect?

    enter image description here

    Add the following configuration to settings.json:

        "python.analysis.completeFunctionParens": true,
    

    Or search for python.analysis.completeFunctionParens in Settings and check it

    enter image description here

    Explanation of this setting

    Add parentheses to function completions.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search