Commit c2d3fe59 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Shorten the tool files names

There really is no need to prefix every single file with
kateprojectcodeanalsis. It just makes it harder to jump to files and
provides no benefits.
parent bccf9a58
Pipeline #136199 passed with stage
in 5 minutes and 36 seconds
......@@ -74,12 +74,12 @@ target_sources(
comparebranchesview.cpp
branchdeletedialog.cpp
tools/kateprojectcodeanalysistoolcppcheck.cpp
tools/kateprojectcodeanalysistoolflake8.cpp
tools/kateprojectcodeanalysistoolshellcheck.cpp
tools/kateprojectcodeanalysisselector.cpp
tools/kateprojectcodeanalysistoolclazy.cpp
tools/kateprojectcodeanalysistoolclazycurrent.cpp
tools/clazy.cpp
tools/clazycurrent.cpp
tools/codeanalysisselector.cpp
tools/cppcheck.cpp
tools/flake8.cpp
tools/shellcheck.cpp
git/gitdiff.cpp
git/gitutils.cpp
......
......@@ -18,7 +18,7 @@ target_sources(
test1.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../fileutil.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../kateprojectcodeanalysistool.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../tools/kateprojectcodeanalysistoolshellcheck.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../tools/shellcheck.cpp
)
add_test(NAME plugin-project_test COMMAND projectplugin_test)
......
......@@ -7,7 +7,7 @@
#include "test1.h"
#include "fileutil.h"
#include "tools/kateprojectcodeanalysistoolshellcheck.h"
#include "tools/shellcheck.h"
#include <QTest>
......
......@@ -9,7 +9,7 @@
#include "kateproject.h"
#include "kateprojectcodeanalysistool.h"
#include "kateprojectpluginview.h"
#include "tools/kateprojectcodeanalysisselector.h"
#include "tools/codeanalysisselector.h"
#include <QFileInfo>
#include <QHBoxLayout>
......
......@@ -4,7 +4,7 @@
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "kateprojectcodeanalysistoolclazy.h"
#include "clazy.h"
#include "kateproject.h"
#include <KLocalizedString>
......
......@@ -4,7 +4,7 @@
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "kateprojectcodeanalysistoolclazycurrent.h"
#include "clazycurrent.h"
#include <KLocalizedString>
#include <KTextEditor/MainWindow>
......
......@@ -7,7 +7,7 @@
#ifndef KATEPROJECTCODEANALYSISTOOLCLANGTIDY_H
#define KATEPROJECTCODEANALYSISTOOLCLANGTIDY_H
#include "kateprojectcodeanalysistoolclazy.h"
#include "clazy.h"
class KateProjectCodeAnalysisToolClazyCurrent : public KateProjectCodeAnalysisToolClazy
{
......
......@@ -5,13 +5,13 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "kateprojectcodeanalysisselector.h"
#include "codeanalysisselector.h"
#include "kateprojectcodeanalysistoolclazy.h"
#include "kateprojectcodeanalysistoolclazycurrent.h"
#include "kateprojectcodeanalysistoolcppcheck.h"
#include "kateprojectcodeanalysistoolflake8.h"
#include "kateprojectcodeanalysistoolshellcheck.h"
#include "clazy.h"
#include "clazycurrent.h"
#include "cppcheck.h"
#include "flake8.h"
#include "shellcheck.h"
QStandardItemModel *KateProjectCodeAnalysisSelector::model(QObject *parent)
{
......
......@@ -5,7 +5,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "kateprojectcodeanalysistoolcppcheck.h"
#include "cppcheck.h"
#include "kateproject.h"
#include <KLocalizedString>
......
......@@ -5,7 +5,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "kateprojectcodeanalysistoolflake8.h"
#include "flake8.h"
#include "kateproject.h"
......
......@@ -5,7 +5,7 @@
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "kateprojectcodeanalysistoolshellcheck.h"
#include "shellcheck.h"
#include "kateproject.h"
#include <KLocalizedString>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment