forked from qt-creator/qt-creator
ClangFormat: Move global settings in main page
The settings: indenting instead formatting, format while typing, format edited on file save are moved to Code Style page. Change-Id: I28787b44602ce288961c778fe704ad2a1a05913f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "clangformatplugin.h"
|
||||
|
||||
#include "clangformatconfigwidget.h"
|
||||
#include "clangformatglobalconfigwidget.h"
|
||||
#include "clangformatconstants.h"
|
||||
#include "clangformatindenter.h"
|
||||
#include "clangformatsettings.h"
|
||||
@@ -95,6 +96,12 @@ public:
|
||||
{
|
||||
return {new ClangFormatConfigWidget(codeStyle, project, parent), tr("ClangFormat")};
|
||||
}
|
||||
|
||||
TextEditor::CodeStyleEditorWidget *createAdditionalGlobalSettings(
|
||||
ProjectExplorer::Project *project, QWidget *parent)
|
||||
{
|
||||
return new ClangFormatGlobalConfigWidget(project, parent);
|
||||
}
|
||||
};
|
||||
|
||||
static void replaceCppCodeStyle()
|
||||
|
||||
Reference in New Issue
Block a user