Skip to content

C_Cpp.vcFormat.newLine.beforeOpenBrace.namespace does not add newLine #7827

@michelleangela

Description

@michelleangela

Bug type: Language Service

Steps to reproduce

  1. Add settings:
    "C_Cpp.formatting":"vcFormat",
    "C_Cpp.vcFormat.newLine.beforeOpenBrace.namespace": "newLine"
  2. Type "namespace aa::bb::cc{} in a cpp source file.
  3. Right-click and choose "Format Document"
  4. Observe the line of "namespace".
    Actual:
    image

Expected behavior
image

Is this a bug on shared code with Visual Studio?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions