Closed as not planned
Description
Brief Issue Summary
When using format on save "editor.formatOnSave": true
with CMake Tools
extension enabled the save often takes 10 seconds or even longer. For the formatting itself I am using clang-format-17
.
Slow.-.CMake.Extension.Enabled.webm
Running clang-format-17
itself takes 20ms on this file when launched from the terminal.
$ time clang-format-17 -i src/component/simulation/history_calculation.h
real 0m0.023s
user 0m0.007s
sys 0m0.015s