[Qt-creator] Intellisense Popup and whitespaces

Thorbjørn Lindeijer thorbjorn.lindeijer at nokia.com
Mon Jan 26 16:07:43 CET 2009


ext NOVAimages wrote:
> Hello
> 
> besides of my debugging problem (see Debugging Windows)
> i have another annoying thing. I don't know if it is by design but ...
> 
> 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 ?

I've just patched it up to still work when you have a space, like when 
you type "SIGNAL( " and then press Ctrl+Space to get the completion 
popup again.

However, as Daniel pointed out, it will still complete the signal/slot 
without spaces. We can't fix that until there is a way for the user to 
tell Creator about the coding style.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software




More information about the Qt-creator-old mailing list