Skip to content

Why does formatOnType on for-loop affect other lines? #9983

Answered by sean-mcmanus
ykadowak asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not able to repro the bug. Can you provide more repro details? What clang-format version are you using? What other clang-format settings are you using? It may be a bug with clang-format itself.

If you set C_Cpp.loggingLevel to "Debug", the "C/C++" Output panel will show some formatting logging, i.e. inputs and raw outputs from clang-format which might help.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ykadowak
Comment options

@sean-mcmanus
Comment options

Answer selected by ykadowak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants