Ios 避免与铿锵格式化程序混合使用?

Ios 避免与铿锵格式化程序混合使用?,ios,clang-format,Ios,Clang Format,在下一行中,有两个前面的空格,尽管我有一个选项卡。如何设置配置文件以获取它?现在,下面列出了配置文件 请提供更多的上下文。代码段从哪个缩进开始?虽然只有一个制表符,但它以两个空格开始。clang-format使用IndentWidth作为偏移量。您将其设置为4,但TabWidth为8。只有当您达到8个空格时,它才会使用选项卡。尝试将IndentWidth设置为8。@ravnsgaard或将IndentWidth和TabWidth都设置为4?我更喜欢选项卡。 BasedOnStyle : Chr

在下一行中,有两个前面的空格,尽管我有一个选项卡。如何设置配置文件以获取它?现在,下面列出了配置文件


请提供更多的上下文。代码段从哪个缩进开始?虽然只有一个制表符,但它以两个空格开始。clang-format使用
IndentWidth
作为偏移量。您将其设置为4,但
TabWidth
为8。只有当您达到8个空格时,它才会使用选项卡。尝试将
IndentWidth
设置为8。@ravnsgaard或将
IndentWidth
TabWidth
都设置为4?我更喜欢选项卡。
BasedOnStyle : Chromium 
AlignTrailingComments : true 
BreakBeforeBraces : Allman 
ColumnLimit : 0 
IndentWidth : 4 
KeepEmptyLinesAtTheStartOfBlocks : false 
ObjCSpaceAfterProperty : true 
ObjCSpaceBeforeProtocolList : true 
PointerBindsToType : false 
SpacesBeforeTrailingComments : 1 
TabWidth : 8 
UseTab : Always