summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolsplugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* New plugin: plugin macroNicolas Arnaud-Cormos2010-12-201-1/+1
| | | | | | | | | | | | | | | | This plugin let the user record and replay some macros: * 3 handlers: action, find and texteditor * almost all texteditor and cpp actions recorded * options page to set the directories where the macros are stored * optional dialog to give a name and comment at the end of a macro * locator integration to play a macro * shortcuts assignment to macro The most important change outside the plugin macros is the isScriptable method for command: All scriptable commands can be stored in a macro. Merge-request: 2176 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Merge branch '2.1'con2010-12-171-7/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/coreplugin/basemode.cpp src/plugins/coreplugin/basemode.h src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp src/plugins/debugger/debuggeragents.cpp src/plugins/debugger/debuggeruiswitcher.cpp src/plugins/debugger/debuggeruiswitcher.h src/plugins/projectexplorer/buildconfigdialog.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.h src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h src/plugins/qmldesigner/designercore/include/modelutilities.h src/plugins/qmldesigner/designercore/include/nodeinstance.h src/plugins/qmldesigner/designercore/include/propertymetainfo.h src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp src/plugins/qmldesigner/designercore/model/modelutilities.cpp src/plugins/snippets/inputwidget.cpp src/plugins/snippets/snippetscompletion.cpp src/plugins/snippets/snippetscompletion.h src/plugins/snippets/snippetspec.cpp src/plugins/snippets/snippetsplugin.cpp src/plugins/snippets/snippetswindow.cpp src/plugins/snippets/snippetswindow.h src/plugins/texteditor/snippetsparser.cpp src/tools/qml/qmldom/main.cpp tests/manual/trk/runner.cpp tests/manual/trk/trkolddevice.cpp tests/manual/trk/trkolddevice.h tests/manual/trk/trkserver.cpp
| * License headers.con2010-12-171-7/+11
| |
* | vcsmanager: coding conventionhjk2010-12-081-1/+1
| |
* | Coreplugin: Header cleanup.Friedemann Kleint2010-11-021-0/+1
|/ | | | Clean icore.h.
* C++ Editor: prevent insertion of method definitions in header files.Erik Verbruggen2010-10-081-1/+0
|
* Remove EditorManager::ensureEditorManagerVisible()dt2010-09-061-3/+1
| | | | | | | | | | | The function always switched to Edit Mode, which was the cause for several bugs. Since openEditor() already does switch to the right mode, the function is not really needed. The following actions now respect the prefered mode of the editor: "f file"-locator The Open Documents list Editor history navigation
* C++ symbols find filter for advanced find.con2010-07-231-5/+5
| | | | | | | | Required refactoring of the search result window to show real trees of search results. The backend is the backend from the Locator filter, which is a bit outdated now.
* Add flag to IPlugin::aboutToShutdown that allows asynchronous shutdown.con2010-07-131-1/+2
| | | | | | | If a plugin requests asyncronous shutdown, the shutdown sequence does not continue to deleting the plugins before it has sent a asynchronousShutdownFinished signal. During that time an event loop is running.
* Core::Context: compile hot fix for Windows.hjk2010-06-251-4/+1
|
* core: use a class derived from QList<int> instead of a QList<int> for ↵hjk2010-06-251-1/+1
| | | | | | | | Core::Context A mostly mechanical change. Reviewed-By: con
* Fixed completion settings to also apply to the QML code completionThorbjørn Lindeijer2010-05-111-24/+9
| | | | | | | | | | | | | | | | By moving the completion settings into the TextEditor plugin, so that both the CppTools and the QmlJSEditor plugins can access the settings. The user-interface to edit the settings is still in the CppTools plugin, since we're in string freeze at the moment. It should be moved to the TextEditor plugin later. For now the QML completion only supports the case-sensitivity and partial completion options, since there is no automatic insertion of brackets. Task-number: QTCREATORBUG-1327 Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Rename IPlugin::shutdown --> IPlugin::aboutToShutdowncon2010-04-281-1/+1
| | | | Discussed-with: hjk
* Add "insert space after function name" option for GNU indentingAlexey Semenko2010-04-081-0/+2
| | | | | Reviewed-by: mae Merge-request: 133
* Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4.Friedemann Kleint2010-03-181-0/+2
|
* Long live the king!hjk2010-03-051-1/+1
|
* Fixes: Diff editors don't get correct name.con2010-01-111-1/+1
| | | | | They were no longer showing e.g. the file name of the diffed file. Also separate editor id and editor context a bit.
* Make method naming more consistent.Tobias Hunger2010-01-071-1/+1
| | | | | | | | | | | | * Use id() for methods returning a string used to represent some type of object. * Use displayName() for strings that are meant to be user visible. * Quieten some warnings while touching the files anyway. * Move Factories to their products in the plugins where that was not done before. Reviewed-by: dt
* Implement string based search & replace in multiple files.con2009-12-211-2/+4
| | | | | | | | | | | This uses the same UI as "Rename Symbol". Moves the actual rename implementation to a static method in BaseFileFind and uses it for rename symbol and search & replace. Moves the signal notification for the code model from VCSManager to the more general FileManager. Note that as for rename symbol, there's no undo yet. Task-number: QTCREATORBUG-73
* Implemented first-letter case-sensitive for completion as defaultThorbjørn Lindeijer2009-12-091-3/+3
| | | | | | | | By default now only the first letter is case-sensitive. It is still possible to choose full or no case-sensitivity as well. Task-number: QTCREATORBUG-236 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Introduced the quick fix engineRoberto Raggi2009-11-131-2/+0
|
* Code model: Update on changes from the versioning system.Friedemann Kleint2009-11-111-0/+6
| | | | | | | | | Add changed signals to IVersionControl and VCSManager and wire them to the update methods. Add a menu action for manually updating. Improved version of reverted 7aa24116935249a840e1350a6f8de73bc794fb09. Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Revert "Code model: Update on changes from the versioning system."con2009-11-101-6/+0
| | | | | | | | This reverts commit 7aa24116935249a840e1350a6f8de73bc794fb09. It breaks the code model updates completely. So reverting this change until we have the right thing. Reviewed-by: Roberto Raggi
* Code model: Update on changes from the versioning system.Friedemann Kleint2009-11-091-0/+6
| | | | | | | | | | | Add state logic to CppCodeModelManagerInterface, making it aware whether an indexer is running, protect the update methods from another invocation while running. Add changed signals to IVersionControl and VCSManager and wire them to the update methods. Add a menu action for manually updating. Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: con <qtc-committer@nokia.com>
* Rename QuickOpen namespace.con2009-10-161-2/+2
|
* CppQuickOpenFilter --> CppLocatorFiltercon2009-10-161-2/+2
|
* Removed CppSemanticSearch & co. Find usages of a Symbol is way more powerful.Roberto Raggi2009-10-091-111/+0
|
* Merge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3con2009-10-051-4/+4
|\ | | | | | | | | | | | | Conflicts: src/plugins/cpptools/cppfindreferences.cpp src/plugins/cpptools/cpptoolsplugin.cpp src/plugins/texteditor/basefilefind.cpp
| * Rename namespace Core::Utils into UtilsFriedemann Kleint2009-10-051-4/+4
| | | | | | | | | | Also move Designer::Internal::FormWindowEditor -> Designer::FormWindowEditor.
* | Refactor search result window for use of many items and checked state.con2009-10-051-22/+22
|/
* long live the kinghjk2009-08-141-1/+1
|
* Do the scanning for include files in the backgroundThorbjørn Lindeijer2009-07-241-0/+5
| | | | | | In order to speed up completion for include statements. Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Removing some unused semicolons after Q_UNUSEDAlessandro Portale2009-07-131-2/+2
| | | | There were both variants, with and without extra semicolon.
* Update license headers and sales contact details.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Search the function callsRoberto Raggi2009-06-091-0/+56
|
* More work on `Quick Fix'.Roberto Raggi2009-06-091-0/+4
|
* Integrate merge-request #567 into branch 'master'con2009-06-041-0/+2
|\ | | | | | | | | | | | | | | Christian Hoenig (1): Implement CppCurrentDocumentFilter for symbols in current document Request-url: http://gitorious.org/qt-creator/qt-creator/merge_requests/567 Reviewed-by: con <qtc-committer@nokia.com>
| * Implement CppCurrentDocumentFilter for symbols in current documentChristian Hoenig2009-05-301-0/+2
| |
* | Introduced CppTools::Internal::SemanticSearch.Roberto Raggi2009-06-031-177/+5
| |
* | Store the original C++ Document when searching.Roberto Raggi2009-06-021-1/+2
| |
* | Oops! use the right overload of QString::indexOf :-)Roberto Raggi2009-06-021-1/+1
| |
* | Initial support for semantic searches.Roberto Raggi2009-06-021-2/+240
|/
* Renamed braces to bracketsThorbjørn Lindeijer2009-05-261-2/+2
| | | | | Since we're automatically inserting several kinds of brackets, but not braces ({ }).
* Switch header source between .h and .mm files.con2009-05-041-2/+7
|
* Made cpp file suffixes take effect after restart.Friedemann Kleint2009-04-291-3/+10
| | | | | | | | | In CppTools, keep cpp file settings in plugin and settings page via shared pointer and apply to mime DB in extensionsInitialized() (after CppEditor has loaded and registered the mime types). Task-number: 252299
* Fixes: Introduce a cpp settingspage containing file naming conventions ↵Friedemann Kleint2009-03-181-0/+2
| | | | | | | | | (lower case and suffixes). Reorder VCS settings pages. Task: 241959, 248085 RevBy: Optics/Naming checked by con Details: Give IOptionPage an id() to differentiate from trName(). Make showOptionsDialog return a bool (applied) and give it an optional parent. Change Cpp and form class wizards, give them a Configure... button to change those settings.
* Fixed switching header/source with additional dots in the filenameThorbjørn Lindeijer2009-03-161-1/+1
| | | | | For example when a file was called test.something.cpp, it would search for test.h instead of test.something.h.
* Fixes: simplify ProjectExplorerPlugin::instance() accesshjk2009-03-041-2/+1
|
* Fixes: change file license headers to include LGPLhjk2009-02-251-21/+17
|