How to feed Visual Studio Clang-Format plugin with clang-format file?

前端 未结 4 1054
难免孤独
难免孤独 2021-01-01 10:54

So I downloaded, installed, and inserted into path the clang formatting plugin. I also tested it and it works for Google (Mozilla, etc.) formatting options out of the box, y

4条回答
  •  执笔经年
    2021-01-01 11:49

    For the record, it seems that if both "Fallback Style" and "Style" are set to "file", no formatting will happen even if the style file is at its correct location. Setting "Fallback Style" to something different than "file" (e.g. "none") helps.

提交回复
热议问题