Skip to content

Auto completing semi-colon for struct and class declaration #7291

Description

@HO-COOH

Type: LanguageService

Describe the bug

  • C/C++ Extension Version: 1.3.0-insider 3

Steps to reproduce

  1. Type
class ClassName 
{

^ There is no auto-completed simi-colon at the end of }. The code will be like

class ClassName
{
    
}
//^ No semi-colon

Expected behavior

class ClassName 
{

};
//^ Auto-completed semi-colon

Activity

  1. sean-mcmanus commented on Apr 5, 2021

    @sean-mcmanus
    Contributor

    We can't fix this without VS Code support. Please upvote microsoft/vscode#118577 .

  2. locked and limited conversation to collaborators on May 21, 2021
  3. sean-mcmanus commented on Oct 15, 2021

    @sean-mcmanus
    Contributor

    The VS Code team says there's a way we can fix it: microsoft/vscode#118577 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions