Commit Graph

15 Commits

Author SHA1 Message Date
Christian Kamm
7a5df3c39d QuickFix: Move helpers from QuickFixData to RefactoringFile.
Makes them easy to use everywhere. Also when calling
QuickFixData::textOf and friends, it wasn't really clear which file
they would run on.
2010-08-13 12:51:22 +02:00
Christian Kamm
bbe64796a0 QuickFix: Introduce CppRefactoringFile. 2010-08-13 12:51:22 +02:00
Christian Kamm
03b443b86b QuickFix: Simplify getting a Document for a C++ refactoring. 2010-08-12 14:21:35 +02:00
Christian Kamm
0355e37e53 QuickFix: Migrate to a nicer API for cross-file quick fixes. 2010-08-12 14:21:35 +02:00
Christian Kamm
ca5076e5ae QuickFix: Don't separate createChanges from perform.
This will allow a more efficient and direct implementation.
2010-08-12 14:21:35 +02:00
Christian Kamm
235f4d1d26 QuickFix: Clean up RefactoringChanges and add missing functionality.
* 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.
2010-08-12 14:21:35 +02:00
Roberto Raggi
7ae7193183 Removed unused formal argument. 2010-08-02 14:21:49 +02:00
Erik Verbruggen
4d51853d3c Extended declaration adding to ask for access spec. 2010-07-30 14:55:37 +02:00
Roberto Raggi
7794289424 Get rid of Oveview::prettyTypeWithName() and LookupContext::minimalName() 2010-07-29 15:17:24 +02:00
Roberto Raggi
d3761d10e2 Use 1-based locations. 2010-07-29 15:17:24 +02:00
Erik Verbruggen
6bbc732a29 Sprinkled a bit of doxymentation over various classes. 2010-07-28 17:34:00 +02:00
Erik Verbruggen
b2659950e2 Added the InsertionPointLocator.
For answers to questions about where to insert a snippet/chunk of C++ code. Ok,
currently it will only find the One And Only place to insert method
declarations in classes, and it will need some tuning.
2010-07-27 15:32:40 +02:00
Erik Verbruggen
d980e37e24 Reworked the QuickFix infrastructure. 2010-07-26 13:07:19 +02:00
mae
b421d9c007 Fix compile warning 2010-07-13 14:37:48 +02:00
Erik Verbruggen
9135c8ccb1 Quickfix for adding a declaration to a class from a definition. 2010-07-12 09:53:58 +02:00