[Qt-creator] Intellisense Popup and whitespaces
Daniel Teske
daniel.teske at nokia.com
Mon Jan 26 12:01:47 CET 2009
> We use extensevily whitespaces to make the code readable.
> So a normal connect would look like that
>
> connect ( this->ui->mSpnSizeX, SIGNAL ( valueChanged ( int ) ),
> this->mLevelEditor, SLOT ( resizeLevelWidth ( int ) ) );
>
> BUT the automatic code completion system does not like the whitespace
> after the brackets.
> If you have one it will not longer work.
> So is there a chance that you will change the system that it will work
> also WITH a whitespace ?
> Or is that not possible ?
Currently it is hardcoded to our preferences. That is the normalized form,
which is used internally by qt. (So it's marginally faster to specify the
signal and slots in that way.)
It's definitely something where we need a way for the user to configure. We
also have plans for more stuff to be autogenerated, where we need to respect
the users preference for coding styles.
We'll need to figure out how to do that in a good way.
daniel
More information about the Qt-creator-old
mailing list