aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppeditor.pro
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2021-08-30 10:58:08 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2021-09-01 14:53:58 +0000
commit284817fae6514701902ccdb834c2faa46462f2e8 (patch)
tree44a8c7d9813dc110b61c4639036366c7696bd7e9 /src/plugins/cppeditor/cppeditor.pro
parent3e1fa0f170d523971d2c3c12da15a6e291f56511 (diff)
Merge CppTools into CppEditor
There was no proper separation of responsibilities between these plugins. In particular, CppTools had lots of editor-related functionality, so it's not clear why it was separated out in the first place. In fact, for a lot of code, it seemed quite arbitrary where it was put (just one example: switchHeaderSource() was in CppTools, wheras switchDeclarationDefinition() was in CppEditor). Merging the plugins will enable us to get rid of various convoluted pseudo-abstractions that were only introduced to keep up the artificial separation. Change-Id: Iafc3bce625b4794f6d4aa03df6cddc7f2d26716a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppeditor.pro')
-rw-r--r--src/plugins/cppeditor/cppeditor.pro233
1 files changed, 224 insertions, 9 deletions
diff --git a/src/plugins/cppeditor/cppeditor.pro b/src/plugins/cppeditor/cppeditor.pro
index f4ad82a570..636d9d8089 100644
--- a/src/plugins/cppeditor/cppeditor.pro
+++ b/src/plugins/cppeditor/cppeditor.pro
@@ -1,26 +1,85 @@
DEFINES += CPPEDITOR_LIBRARY
+msvc: DEFINES += _SCL_SECURE_NO_WARNINGS
include(../../qtcreatorplugin.pri)
HEADERS += \
+ abstracteditorsupport.h \
+ abstractoverviewmodel.h \
+ baseeditordocumentparser.h \
+ baseeditordocumentprocessor.h \
+ builtincursorinfo.h \
+ builtineditordocumentparser.h \
+ builtineditordocumentprocessor.h \
+ builtinindexingsupport.h \
+ clangdiagnosticconfig.h \
+ clangdiagnosticconfigsmodel.h \
+ clangdiagnosticconfigsselectionwidget.h \
+ clangdiagnosticconfigswidget.h \
+ compileroptionsbuilder.h \
cppautocompleter.h \
+ cppbuiltinmodelmanagersupport.h \
+ cppcanonicalsymbol.h \
+ cppchecksymbols.h \
+ cppclassesfilter.h \
+ cppcodeformatter.h \
cppcodemodelinspectordialog.h \
+ cppcodemodelinspectordumper.h \
+ cppcodemodelsettings.h \
+ cppcodemodelsettingspage.h \
+ cppcodestylepreferences.h \
+ cppcodestylepreferencesfactory.h \
+ cppcodestylesettings.h \
+ cppcodestylesettingspage.h \
+ cppcodestylesnippets.h \
+ cppcompletionassist.h \
+ cppcompletionassistprocessor.h \
+ cppcompletionassistprovider.h \
+ cppcurrentdocumentfilter.h \
+ cppcursorinfo.h \
cppdocumentationcommenthelper.h \
+ cppdoxygen.h \
cppeditor.h \
cppeditor_global.h \
- cppeditordocument.h \
+ cppeditor_utils.h \
cppeditorconstants.h \
+ cppeditordocument.h \
cppeditorenums.h \
+ cppeditoroutline.h \
cppeditorplugin.h \
cppeditorwidget.h \
+ cppeditorwidgetinterface.h \
+ cppelementevaluator.h \
+ cppfileiterationorder.h \
+ cppfilesettingspage.h \
+ cppfindreferences.h \
+ cppfollowsymbolundercursor.h \
cppfunctiondecldeflink.h \
+ cppfunctionsfilter.h \
cpphighlighter.h \
- cppparsecontext.h \
+ cpphoverhandler.h \
cppincludehierarchy.h \
+ cppincludesfilter.h \
+ cppindexingsupport.h \
cppinsertvirtualmethods.h \
cpplocalrenaming.h \
+ cpplocalsymbols.h \
+ cpplocatordata.h \
+ cpplocatorfilter.h \
cppminimizableinfobars.h \
+ cppmodelmanager.h \
+ cppmodelmanagersupport.h \
cppoutline.h \
+ cppoverviewmodel.h \
+ cppparsecontext.h \
+ cpppointerdeclarationformatter.h \
cpppreprocessordialog.h \
+ cppprojectfile.h \
+ cppprojectfilecategorizer.h \
+ cppprojectinfogenerator.h \
+ cppprojectpartchooser.h \
+ cppprojectupdater.h \
+ cppprojectupdaterinterface.h \
+ cppqtstyleindenter.h \
cppquickfix.h \
cppquickfixassistant.h \
cppquickfixes.h \
@@ -29,27 +88,117 @@ HEADERS += \
cppquickfixsettings.h \
cppquickfixsettingspage.h \
cppquickfixsettingswidget.h \
+ cpprefactoringchanges.h \
+ cpprefactoringengine.h \
+ cppselectionchanger.h \
+ cppsemanticinfo.h \
+ cppsemanticinfoupdater.h \
+ cppsourceprocessor.h \
+ cppsymbolinfo.h \
+ cpptoolsbridge.h \
+ cpptoolsbridgeinterface.h \
+ cpptoolsbridgeqtcreatorimplementation.h \
+ cpptoolsjsextension.h \
+ cpptoolsreuse.h \
+ cpptoolssettings.h \
cpptypehierarchy.h \
cppuseselectionsupdater.h \
- resourcepreviewhoverhandler.h
+ cppvirtualfunctionassistprovider.h \
+ cppvirtualfunctionproposalitem.h \
+ cppworkingcopy.h \
+ cursorineditor.h \
+ doxygengenerator.h \
+ editordocumenthandle.h \
+ followsymbolinterface.h \
+ functionutils.h \
+ generatedcodemodelsupport.h \
+ headerpathfilter.h \
+ includeutils.h \
+ indexitem.h \
+ insertionpointlocator.h \
+ projectinfo.h \
+ projectpart.h \
+ refactoringengineinterface.h \
+ resourcepreviewhoverhandler.h \
+ searchsymbols.h \
+ semantichighlighter.h \
+ senddocumenttracker.h \
+ stringtable.h \
+ symbolfinder.h \
+ symbolsfindfilter.h \
+ typehierarchybuilder.h \
+ usages.h \
+ wrappablelineedit.h
SOURCES += \
+ abstracteditorsupport.cpp \
+ baseeditordocumentparser.cpp \
+ baseeditordocumentprocessor.cpp \
+ builtincursorinfo.cpp \
+ builtineditordocumentparser.cpp \
+ builtineditordocumentprocessor.cpp \
+ builtinindexingsupport.cpp \
+ clangdiagnosticconfig.cpp \
+ clangdiagnosticconfigsmodel.cpp \
+ clangdiagnosticconfigsselectionwidget.cpp \
+ clangdiagnosticconfigswidget.cpp \
+ compileroptionsbuilder.cpp \
cppautocompleter.cpp \
+ cppbuiltinmodelmanagersupport.cpp \
+ cppcanonicalsymbol.cpp \
+ cppchecksymbols.cpp \
+ cppclassesfilter.cpp \
+ cppcodeformatter.cpp \
cppcodemodelinspectordialog.cpp \
+ cppcodemodelinspectordumper.cpp \
+ cppcodemodelsettings.cpp \
+ cppcodemodelsettingspage.cpp \
+ cppcodestylepreferences.cpp \
+ cppcodestylepreferencesfactory.cpp \
+ cppcodestylesettings.cpp \
+ cppcodestylesettingspage.cpp \
+ cppcompletionassist.cpp \
+ cppcompletionassistprocessor.cpp \
+ cppcompletionassistprovider.cpp \
+ cppcurrentdocumentfilter.cpp \
cppdocumentationcommenthelper.cpp \
+ cppdoxygen.cpp \
cppeditor.cpp \
cppeditordocument.cpp \
+ cppeditoroutline.cpp \
cppeditorplugin.cpp \
cppeditorwidget.cpp \
+ cppelementevaluator.cpp \
+ cppfileiterationorder.cpp \
+ cppfilesettingspage.cpp \
+ cppfindreferences.cpp \
+ cppfollowsymbolundercursor.cpp \
cppfunctiondecldeflink.cpp \
+ cppfunctionsfilter.cpp \
cpphighlighter.cpp \
- cppparsecontext.cpp \
+ cpphoverhandler.cpp \
cppincludehierarchy.cpp \
+ cppincludesfilter.cpp \
+ cppindexingsupport.cpp \
cppinsertvirtualmethods.cpp \
cpplocalrenaming.cpp \
+ cpplocalsymbols.cpp \
+ cpplocatordata.cpp \
+ cpplocatorfilter.cpp \
cppminimizableinfobars.cpp \
+ cppmodelmanager.cpp \
+ cppmodelmanagersupport.cpp \
cppoutline.cpp \
+ cppoverviewmodel.cpp \
+ cppparsecontext.cpp \
+ cpppointerdeclarationformatter.cpp \
cpppreprocessordialog.cpp \
+ cppprojectfile.cpp \
+ cppprojectfilecategorizer.cpp \
+ cppprojectinfogenerator.cpp \
+ cppprojectpartchooser.cpp \
+ cppprojectupdater.cpp \
+ cppqtstyleindenter.cpp \
cppquickfix.cpp \
cppquickfixassistant.cpp \
cppquickfixes.cpp \
@@ -58,13 +207,49 @@ SOURCES += \
cppquickfixsettings.cpp \
cppquickfixsettingspage.cpp \
cppquickfixsettingswidget.cpp \
+ cpprefactoringchanges.cpp \
+ cpprefactoringengine.cpp \
+ cppselectionchanger.cpp \
+ cppsemanticinfoupdater.cpp \
+ cppsourceprocessor.cpp \
+ cpptoolsbridge.cpp \
+ cpptoolsbridgeqtcreatorimplementation.cpp \
+ cpptoolsjsextension.cpp \
+ cpptoolsreuse.cpp \
+ cpptoolssettings.cpp \
cpptypehierarchy.cpp \
cppuseselectionsupdater.cpp \
- resourcepreviewhoverhandler.cpp
+ cppvirtualfunctionassistprovider.cpp \
+ cppvirtualfunctionproposalitem.cpp \
+ cppworkingcopy.cpp \
+ doxygengenerator.cpp \
+ editordocumenthandle.cpp \
+ functionutils.cpp \
+ generatedcodemodelsupport.cpp \
+ headerpathfilter.cpp \
+ includeutils.cpp \
+ indexitem.cpp \
+ insertionpointlocator.cpp \
+ projectinfo.cpp \
+ projectpart.cpp \
+ resourcepreviewhoverhandler.cpp \
+ searchsymbols.cpp \
+ semantichighlighter.cpp \
+ senddocumenttracker.cpp \
+ stringtable.cpp \
+ symbolfinder.cpp \
+ symbolsfindfilter.cpp \
+ typehierarchybuilder.cpp \
+ wrappablelineedit.cpp
FORMS += \
- cpppreprocessordialog.ui \
+ clangbasechecks.ui \
+ clangdiagnosticconfigswidget.ui \
cppcodemodelinspectordialog.ui \
+ cppcodemodelsettingspage.ui \
+ cppcodestylesettingspage.ui \
+ cppfilesettingspage.ui \
+ cpppreprocessordialog.ui \
cppquickfixprojectsettingswidget.ui \
cppquickfixsettingswidget.ui
@@ -73,21 +258,51 @@ RESOURCES += \
equals(TEST, 1) {
HEADERS += \
- cppeditortestcase.h \
+ compileroptionsbuilder_test.h \
+ cppcodegen_test.h \
+ cppcompletion_test.h \
cppdoxygen_test.h \
+ cppeditortestcase.h \
+ cppheadersource_test.h \
cppincludehierarchy_test.h \
+ cpplocalsymbols_test.h \
+ cpplocatorfilter_test.h \
+ cppmodelmanager_test.h \
+ cpppointerdeclarationformatter_test.h \
cppquickfix_test.h \
+ cppsourceprocessertesthelper.h \
+ cppsourceprocessor_test.h \
+ cpptoolstestcase.h \
cppuseselections_test.h \
fileandtokenactions_test.h \
- followsymbol_switchmethoddecldef_test.h
+ followsymbol_switchmethoddecldef_test.h \
+ modelmanagertesthelper.h \
+ projectinfo_test.h \
+ symbolsearcher_test.h \
+ typehierarchybuilder_test.h
SOURCES += \
+ compileroptionsbuilder_test.cpp \
+ cppcodegen_test.cpp \
+ cppcompletion_test.cpp \
cppdoxygen_test.cpp \
cppeditortestcase.cpp \
+ cppheadersource_test.cpp \
cppincludehierarchy_test.cpp \
+ cpplocalsymbols_test.cpp \
+ cpplocatorfilter_test.cpp \
+ cppmodelmanager_test.cpp \
+ cpppointerdeclarationformatter_test.cpp \
cppquickfix_test.cpp \
+ cppsourceprocessertesthelper.cpp \
+ cppsourceprocessor_test.cpp \
+ cpptoolstestcase.cpp \
cppuseselections_test.cpp \
fileandtokenactions_test.cpp \
- followsymbol_switchmethoddecldef_test.cpp
+ followsymbol_switchmethoddecldef_test.cpp \
+ modelmanagertesthelper.cpp \
+ projectinfo_test.cpp \
+ symbolsearcher_test.cpp \
+ typehierarchybuilder_test.cpp
DEFINES += SRCDIR=\\\"$$PWD\\\"
}