Skip to content

format a macro function with a Chinese annotation, the slash alignment fails. #4451

@Atom2004

Description

@Atom2004

Type: LanguageService

Describe the bug

  • OS and Version: Windows 10 1903
  • VS Code Version: 1.39.2 x64
  • C/C++ Extension Version: 0.26.0: October 15, 2019
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.
    Write an MACRO function in an *.c file or *.h file like the screenshot below, with some Chinese annotation. And auto format that code. The slash behind each alignment fails.
    The *.c file is GBK encoded.

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Annotation 2019-10-17 143039

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions