vscode-cpptools
vscode-cpptools copied to clipboard
The LineEnding setting in .clang-format has no effect within VS Code
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