Commit Graph

2563 Commits

Author SHA1 Message Date
Roberto Raggi
a2b5184123 Activate the completion only when the canonical symbol has a valid name. 2009-10-26 13:45:27 +01:00
Roberto Raggi
996866814a Initialize all the members of CppCodeCompletion 2009-10-21 17:05:36 +02:00
Roberto Raggi
250d947aa5 Initialize members of ModelItemInfo. 2009-10-21 17:05:36 +02:00
Roberto Raggi
5f04a48f6b Removed unused member _node in QuickFixOperation 2009-10-21 17:05:36 +02:00
Roberto Raggi
e9a97ea6a4 Initialize m_line and m_column 2009-10-21 17:05:36 +02:00
Oswald Buddenhagen
c9f9310bb1 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/cpptools/cppcodecompletion.cpp
	src/plugins/debugger/gdb/remotegdbadapter.cpp
2009-10-20 20:09:00 +02:00
Roberto Raggi
1006be240d Fixed possible crash when completing top-level declarations. 2009-10-20 17:17:11 +02:00
Roberto Raggi
41139ef630 Don't acticate completion inside C++-like comments. 2009-10-20 16:37:23 +02:00
Christian Kamm
cadaec24aa Fix function signature completion for cv-qualified functions.
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-10-20 12:55:14 +02:00
Christian Kamm
e3479d9942 Add completion for function signatures.
You now get the function parameters as a completion suggestion when
declaring or defining a function. The tooltip for function calls
is unchanged.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
(cherry picked from commit 202fef42ca)
2009-10-20 12:55:14 +02:00
Christian Kamm
202fef42ca Add completion for function signatures.
You now get the function parameters as a completion suggestion when
declaring or defining a function. The tooltip for function calls
is unchanged.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-10-19 14:19:28 +02:00
con
525ef4cc85 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/cpptools/CppTools.pluginspec
	src/plugins/help/Help.pluginspec
	src/plugins/locator/Locator.pluginspec
	src/plugins/projectexplorer/ProjectExplorer.pluginspec
	src/plugins/texteditor/TextEditor.pluginspec
2009-10-16 14:40:40 +02:00
con
77efc921c2 Rename the internal parts that still used QuickOpen instead of Locator
Merge branch 'adams' into 1.3
2009-10-16 14:25:30 +02:00
Roberto Raggi
8b514657cc Added support to complete function-call operators. 2009-10-16 12:23:16 +02:00
con
1074aca8d2 Rename the QuickOpen plugin to Locator 2009-10-16 11:54:39 +02:00
con
ed77fcc551 Rename pro and pri files 2009-10-16 11:50:38 +02:00
con
a5bfacecb7 Rename directory quickopen --> locator 2009-10-16 11:44:18 +02:00
con
17d9bd6b0a Rename QuickOpen namespace. 2009-10-16 11:30:46 +02:00
Roberto Raggi
8dc369bc2d Simplified member completion.
Share code with ResolveExpression.
2009-10-16 11:08:34 +02:00
con
89d75814dd CppQuickOpenFilter --> CppLocatorFilter 2009-10-16 10:55:58 +02:00
con
a42c3c493a IQuickOpenFilter->ILocatorFilter and QuickOpenToolWindow->LocatorWidget 2009-10-16 04:00:57 +02:00
Roberto Raggi
e130c035d8 Process the names of the formal arguments when searching references in function definitions. 2009-10-15 14:48:56 +02:00
Roberto Raggi
24bcbaefe9 Don't use modality to inform the user about the dangerous world of code refactoring. 2009-10-15 13:59:04 +02:00
con
263d559e86 Merge commit 'origin/1.3' 2009-10-13 17:29:47 +02:00
Roberto Raggi
c33a8e9498 Rename the given enumerator. 2009-10-13 14:38:53 +02:00
Roberto Raggi
5bee5dea13 Check the scope of class and fwd-class declarations 2009-10-13 12:21:05 +02:00
Thorbjørn Lindeijer
b07c1be547 Fixed a crash on exit when include files are still being scanned
Found by Roberto.
2009-10-13 12:14:23 +02:00
Roberto Raggi
420b09e8c2 Expose CppModelManagerInterface::workingCopy() 2009-10-12 10:38:00 +02:00
con
7ecbfbe6d2 Merge commit 'origin/1.3' 2009-10-09 20:15:17 +02:00
Erik Verbruggen
4b44fa5f4a Added Objective-C @-keywords to the completion. 2009-10-09 15:22:57 +02:00
Roberto Raggi
88f3fa09be Removed deprecated PrettyPrinter. We need a way to generate the pretty printer from the C++ parser. 2009-10-09 11:44:12 +02:00
Roberto Raggi
f820c1c776 Removed CppSemanticSearch & co. Find usages of a Symbol is way more powerful. 2009-10-09 11:13:59 +02:00
Roberto Raggi
dbffec2cca Handle ambiguous AST nodes. 2009-10-09 11:02:47 +02:00
con
9ec8bc8975 Merge commit 'origin/1.3' 2009-10-08 19:05:40 +02:00
Roberto Raggi
510f8ccc3d Improved the detection of #include-like directives. 2009-10-08 16:00:46 +02:00
Roberto Raggi
7105b773a1 Enable completion in C++ ctor-initializers. For example,
struct foo {
  int m_zoo;

  foo(): m_ // cursor is here.
2009-10-08 15:33:17 +02:00
con
842ebf50e1 Merge commit 'origin/1.3' 2009-10-07 19:25:02 +02:00
Roberto Raggi
7e0e62cb25 Find the canonical virtual method. 2009-10-07 16:12:33 +02:00
Roberto Raggi
afedec330a Run the binder before searching strong and weak references. 2009-10-07 16:12:33 +02:00
Roberto Raggi
77aa306478 Removed the MacroResolver
Unfortunately, the MacroResolver does not scale and we get pretty bad performances when parsing big projects.
2009-10-07 13:57:45 +02:00
con
ead9c19c40 Merge commit 'origin/1.3' 2009-10-06 18:42:28 +02:00
Roberto Raggi
7a135ac8a2 Search for possible forward classes. 2009-10-06 17:23:15 +02:00
Roberto Raggi
3c51e5b24b Return the class declaration as canonical symbol for ctors, dtors, and class names. 2009-10-06 16:27:39 +02:00
Roberto Raggi
ef0e1a64dc Show a warning message when using global renaming. 2009-10-06 16:00:55 +02:00
Roberto Raggi
fe1411cdfd Use the existing text editor when refactoring text. 2009-10-06 14:22:42 +02:00
Erik Verbruggen
49f6b740cd Merge remote branch 'origin/1.3'
Conflicts:
	src/libs/cplusplus/CheckUndefinedSymbols.cpp
	src/plugins/qmleditor/qmlcodecompletion.cpp
2009-10-06 11:41:00 +02:00
Roberto Raggi
d43cbfbb15 Renamed `awesome' :) 2009-10-05 18:43:23 +02:00
Roberto Raggi
2d51d0b633 Removed the m_ prefix used in the public members of CompletionItem 2009-10-05 18:32:45 +02:00
Roberto Raggi
64710c2b6b Perform renaming. 2009-10-05 18:30:39 +02:00
con
ddb7842761 Merge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3
Conflicts:
	src/plugins/cpptools/cppfindreferences.cpp
	src/plugins/cpptools/cpptoolsplugin.cpp
	src/plugins/texteditor/basefilefind.cpp
2009-10-05 17:26:13 +02:00