forked from qt-creator/qt-creator
Change-Id: Ie2872de3574aaad058a9fca17247db00e9559ba7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
20 lines
895 B
C++
20 lines
895 B
C++
// Copyright (C) 2018 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
namespace ClangFormat {
|
|
namespace Constants {
|
|
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 OVERRIDE_FILE_ID[] = "ClangFormat.OverrideFile";
|
|
static const char FORMAT_CODE_ON_SAVE_ID[] = "ClangFormat.FormatCodeOnSave";
|
|
static const char FORMAT_WHILE_TYPING_ID[] = "ClangFormat.FormatWhileTyping";
|
|
static const char MODE_ID[] = "ClangFormat.Mode";
|
|
static const char USE_GLOBAL_SETTINGS[] = "ClangFormat.UseGlobalSettings";
|
|
static const char OPEN_CURRENT_CONFIG_ID[] = "ClangFormat.OpenCurrentConfig";
|
|
} // namespace Constants
|
|
} // namespace ClangFormat
|