Skip to content

Option to disable 'autoComplete.addBrackets' for decorators #17203

Closed as not planned

Description

Discussed in #16502

Originally posted by brettcannon June 16, 2021
I really like the python.autoComplete.addBrackets option as it's almost always what I would have done anyway. One area where it's not useful though is for decorators. Especially when writing multiple overload this can get annoying pretty fast.

Would it be possible to not insert brackets if the suggestion item follows @, either as default or an additional option?

Originally posted by Marc Mueller (@cdce8p) in a discussion

Activity

  1. brettcannon commented on Sep 1, 2021

    @brettcannon
    MemberAuthor

    Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 5 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

  2. brettcannon commented on Nov 1, 2021

    @brettcannon
    MemberAuthor

    Thank you to everyone who upvoted this issue! Since the community showed interest in this feature request we will leave this issue open as something to consider implementing at some point in the future.

    We do encourage people to continue 👍 this issue as it helps us prioritize our work based on what the community seems to want the most.

  3. luabud commented on Dec 14, 2023

    @luabud
    Member

    autoComplete.addBrackets is no longer a supported setting. Our new language server, Pylance, supports python.analysis.completeFunctionParens instead. We have this issue tracked on the Pylance side: microsoft/pylance-release#4215, so closing this issue in favour of that :)

  4. locked as resolved and limited conversation to collaborators on Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.community askFeature request that the community expressed interest infeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions