vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

The LineEnding setting in .clang-format has no effect within VS Code

Open haferburg opened this issue 8 months ago • 3 comments

Environment

  • OS and Version: Ubuntu 22.04 LTS
  • VS Code Version: 1.89
  • C/C++ Extension Version: v1.20.5

Bug Summary and Steps to Reproduce

Create a .cpp file with LF line endings. Configure a .clang-format file with

LineEnding: CRLF

The format the document.

Expected: The line endings should have been converted to CRLF.

Actual: The line endings stay at LF.

Configuration and Logs

not necessary

Other Extensions

No response

Additional context

No response

haferburg avatar Jun 05 '24 14:06 haferburg