You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Formatting with clang-format fails if it takes longer than 10 seconds (i.e. large enough file) #10213
Use formatting with clang-format with a large file that takes > 10 seconds. Formatting will fail (might only repro on Windows?).
I think we may have added the 10 second timeout to work around a case where clang-format could get permanently stuck. Not sure if we need an adjustable timeout setting or what.
This is biting me right now as well. Does nobody work on large legacy code bases with long files!?!?. Repro'ed for me on Linux, so not just a Windows issue. Adjustable timeout, or at least a way to disable timeout, would be nice.
Activity
bigbrett commentedon Nov 11, 2024
This is biting me right now as well. Does nobody work on large legacy code bases with long files!?!?. Repro'ed for me on Linux, so not just a Windows issue. Adjustable timeout, or at least a way to disable timeout, would be nice.
sean-mcmanus commentedon Nov 11, 2024
Brett Nicholas (@bigbrett) Thanks for the comment. This issue should've been fixed a long time ago, but I think we just forgot about it.
sean-mcmanus commentedon Dec 6, 2024
Brett Nicholas (@bigbrett) Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/v1.23.2 .