I have the same style configuration written on a .clang-format file and the clang_format_custom.sublime_settings file (modulo whatever syntactic changes are necessary). The particular line of interest is the following.
Now, when I run this by first changing Clang Format: Select Style to File, then choosing Clang Format: Format Selection, I get the correct result (most of the times): namely, the preprocessor macros of consecutive lines are aligned. However, if I change Clang Format: Select Style to Custom and then choose Clang Format: Format Selection, then the macros are all unaligned.
I am seeing this bug on two of my Fedora 32 machines using Sublime Text 4 (build 4113).
I have the same style configuration written on a
.clang-format
file and theclang_format_custom.sublime_settings
file (modulo whatever syntactic changes are necessary). The particular line of interest is the following.Now, when I run this by first changing
Clang Format: Select Style
toFile
, then choosingClang Format: Format Selection
, I get the correct result (most of the times): namely, the preprocessor macros of consecutive lines are aligned. However, if I changeClang Format: Select Style
toCustom
and then chooseClang Format: Format Selection
, then the macros are all unaligned.I am seeing this bug on two of my Fedora 32 machines using Sublime Text 4 (build 4113).