blob: 8ee0f44f775a7d3cc84365ea0cd40e8133756acc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#include "qqmlformatsettings_p.h"
QQmlFormatSettings::QQmlFormatSettings(const QString &toolName) : QQmlToolingSettings(toolName)
{
addOption(s_useTabsSetting, false);
addOption(s_indentWidthSetting, 4);
addOption(s_maxColumnWidthSetting, -1);
addOption(s_normalizeSetting, false);
addOption(s_newlineSetting, QStringLiteral("native"));
addOption(s_objectsSpacingSetting, false);
addOption(s_functionsSpacingSetting, false);
addOption(s_sortImportsSetting, false);
}
|