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 adds brackets to imported functions #573

Open
@DonJayamanne

Description

@DonJayamanne

@astier commented on Wed Jan 30 2019

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()

@d3r3kk commented on Thu Jan 31 2019

Verified, thanks for the report @astier!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions