Qt Creator Code Completion: Difference between revisions
No edit summary |
m (Wieland moved page Code Completion to Qt Creator Code Completion: underscores) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{LangSwitch}} | |||
[[Category:Tools::QtCreator]] | |||
Code completion is a feature in QtCreator that helps to write program source code efficiently. | |||
Pressing Ctrl+<Space> asks the code completer to popup a small help window with suggestions which might be appropriate to type at the current cursor position in the source file. | |||
Code completion can be configured to "jump in" automatically after typing some characters and then stopping to type. | |||
== Situations where code completion is helpful == | |||
==Situations where code completion is helpful== | |||
* include filenames | * include filenames | ||
Line 15: | Line 14: | ||
* … (please fill up) | * … (please fill up) | ||
==CamelStyleCodeCompletion== | == CamelStyleCodeCompletion == | ||
Code completion filters the popup using the CamelStyleNamePattern: typing | Code completion filters the popup using the CamelStyleNamePattern: typing CSNP could complete to CamelStyleNamePattern. | ||
==Magic Keys== | == Magic Keys == | ||
Some keys are magic keys. Hitting these keys while the completion popup is shown uses the selected completion and types in the magic key. | Some keys are magic keys. Hitting these keys while the completion popup is shown uses the selected completion and types in the magic key. | ||
* | * '.' | ||
* | * '(' | ||
Should there be more magic keys like: | Should there be more magic keys like: '+', ':','<', … ? | ||
==Slow down of code completion== | == Slow down of code completion == | ||
Starting with QtCreator 2.3 there seems to be a thread to fill the popup while not blocking typing during code completion analyzing. However there are still situations where code completion takes significant time. | Starting with QtCreator 2.3 there seems to be a thread to fill the popup while not blocking typing during code completion analyzing. However there are still situations where code completion takes significant time. | ||
Latest revision as of 12:32, 28 June 2015
En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh
Code completion is a feature in QtCreator that helps to write program source code efficiently. Pressing Ctrl+<Space> asks the code completer to popup a small help window with suggestions which might be appropriate to type at the current cursor position in the source file.
Code completion can be configured to "jump in" automatically after typing some characters and then stopping to type.
Situations where code completion is helpful
- include filenames
- method names
- class names
- namespaces
- … (please fill up)
CamelStyleCodeCompletion
Code completion filters the popup using the CamelStyleNamePattern: typing CSNP could complete to CamelStyleNamePattern.
Magic Keys
Some keys are magic keys. Hitting these keys while the completion popup is shown uses the selected completion and types in the magic key.
- '.'
- '('
Should there be more magic keys like: '+', ':','<', … ?
Slow down of code completion
Starting with QtCreator 2.3 there seems to be a thread to fill the popup while not blocking typing during code completion analyzing. However there are still situations where code completion takes significant time.