Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

"python.autoComplete.addBrackets": true not adding brackets #1249

@nadrojisk

Description

@nadrojisk

Environment data

  • VS Code version: 1.35.1
  • Extension version (available under the Extensions sidebar): XXX
  • OS and version: 2019.5.18875
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.2
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Language Server

Expected behaviour

When performing autocompletion for functions brackets should be added for functions automatically.

Actual behaviour

However using language server it does not. Even with the "python.autoComplete.addBrackets": true,

Steps to reproduce:

  1. Create a python file
  2. Type prin
  3. Hit tab or enter to autocomplete to print
  4. Brackets are not added even though they should.

When using Jedi, it will autocomplete the brackets, however it will also autocomplete them for import statements and decorators when they should not be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions