forked from qt-creator/qt-creator
ClangFormat: Add disable option
- Added a possibility to disable ClangFormat plugin - Removed unneeded properties from clangformatsettings Change-Id: If71f46670e4fd3d2dac6d18c97df5a811504ed5e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -31,10 +31,8 @@ static const char SETTINGS_FILE_NAME[] = ".clang-format";
|
||||
static const char SETTINGS_FILE_ALT_NAME[] = "_clang-format";
|
||||
static const char SAMPLE_FILE_NAME[] = "test.cpp";
|
||||
static const char SETTINGS_ID[] = "ClangFormat";
|
||||
static const char FORMAT_CODE_INSTEAD_OF_INDENT_ID[] = "ClangFormat.FormatCodeInsteadOfIndent";
|
||||
static const char FORMAT_WHILE_TYPING_ID[] = "ClangFormat.FormatWhileTyping";
|
||||
static const char FORMAT_CODE_ON_SAVE_ID[] = "ClangFormat.FormatCodeOnSave";
|
||||
static const char OVERRIDE_FILE_ID[] = "ClangFormat.OverrideFile";
|
||||
static const char MODE_ID[] = "ClangFormat.Mode";
|
||||
static const char OPEN_CURRENT_CONFIG_ID[] = "ClangFormat.OpenCurrentConfig";
|
||||
} // namespace Constants
|
||||
} // namespace ClangFormat
|
||||
|
||||
Reference in New Issue
Block a user