Skip to content

Allow extensions to change { -> } completion to { -> }; #67090

Closed

Description

This is from feedback in microsoft/vscode-cpptools#3087 .

I found the editor.autoClosingBrackets "languageDefined" setting, but I don't see a way for our C/C++ extension to modify this. We need to run our lexer to check if the tokens before the { belong to the start of a struct/class/etc. definition to determine if the "completion" for { should be } or };.

Visual Studio implements this scenario correctly.

Activity

  1. vscodebot commented on Jan 15, 2020

    @vscodebot

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  2. vscodebot commented on Mar 6, 2020

    @vscodebot

    This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding

  3. vscodebot commented on Mar 6, 2020

    @vscodebot

    This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding

  4. vscodebot commented on Mar 16, 2020

    @vscodebot

    🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  5. locked and limited conversation to collaborators on Apr 30, 2020
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

    editor-autoclosingEditor automatic closing of parens / brackets / etc.feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions