summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cpprefactoringchanges.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* LanguageClient: Indent code coming from the serverChristian Kandeler2022-02-031-0/+23
| | | | | | | | | | | ... if the client implementation requests it. The server is not necessarily aware of our indentation style, so we might have to apply it to the newly inserted code. Change-Id: I43518575c7124568da42be3b04a28d7f352f6dc2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
* Merge CppTools into CppEditorChristian Kandeler2021-09-011-0/+99
| | | | | | | | | | | | | | | | 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>
* C++: added quickfix to insert a method definition.Erik Verbruggen2010-09-301-104/+0
| | | | Reviewed-by: Christian Kamm
* CppEditor: Simplify CppRefactoringChanges classKai Koehne2010-08-161-5/+1
| | | | Remove unneeded methods from API.
* QuickFix: Move helpers from QuickFixData to RefactoringFile.Christian Kamm2010-08-131-0/+1
| | | | | | Makes them easy to use everywhere. Also when calling QuickFixData::textOf and friends, it wasn't really clear which file they would run on.
* QuickFix: Introduce CppRefactoringFile.Christian Kamm2010-08-131-1/+39
|
* QuickFix: Simplify getting a Document for a C++ refactoring.Christian Kamm2010-08-121-1/+2
|
* QuickFix: Migrate to a nicer API for cross-file quick fixes.Christian Kamm2010-08-121-2/+1
|
* QuickFix: Clean up RefactoringChanges and add missing functionality.Christian Kamm2010-08-121-0/+3
| | | | | | | * Can change files without opening an editor. * Can open an editor without changing a file. * Default to reindenting new files. * Allow reading a file temporarily to access document and text.
* Share the LookupContext.Roberto Raggi2010-07-191-1/+7
|
* Store the time stamp if necessary.Roberto Raggi2010-06-221-3/+1
|
* Renamed CppRefactoringChanges::parsedDocumentForFile().Roberto Raggi2010-06-221-2/+2
|
* Moved CppRefactoringChanges.Roberto Raggi2010-06-221-0/+62