How to complete function parameters automatically ?
-
Hello,
I want to do like in this "video at 13:56":http://www.youtube.com/watch?v=fmSs2mNGh9I#t=13m56s
Which keyboard shortcut does he use ?Thank you.
-
How I choose one ?
I can change them with the arrow key but when I press enter it just skip a line in my document. -
Qt Creator 2.2.1 on windows.
It just skip a line...
There is an option to activate ?Edit: ctrl+space is useful for a class name or function. But do not work for the parameters of a function. (watch the video, it's just a yellow popup)
-
Yeah I've tried to play with those option without result.
Edit: actually on the video it's a blue pop-up on my screen it's yellow. -
Just to be sure we are talking about the same thing look at this "screen":http://img705.imageshack.us/img705/3894/imagerh.png
-
This is not the same thing. The yellow popups shows the parameters expected by the function.
Typing Enter won't do anything except inserting a new line.
However, when you're in a class header and start overriding a method (let's say paint, as in the video you linked), then creator will show a blue popup and typing Enter will automatically complete the method signature.
-
Ok thanks I thought it was the same pop-up !