Skip to content

"python.autoComplete.addBrackets": true adds brackets to imported functions #4234

Closed
@astier

Description

@astier

Environment data

  • VS Code version: 1.30.2
  • Extension version (available under the Extensions sidebar): 2019.1.0
  • OS and version: Arch
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda

Expected behaviour

Brackets should not be added to imported functions.

Actual behaviour

Brackets are added to imported functions.

Steps to reproduce:

  1. Create a python file
  2. Type from time import tim
  3. Press tab or enter to autocomplete the function time
  4. See how brackets are added at the end of the time-function from time import time()

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-formattingbugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions