[Qt-creator] Overzealous autocomplete
Timur Kristóf
timur.kristof at gmail.com
Thu Jan 24 17:14:23 CET 2019
Hi Jason,
On Thu, 2019-01-24 at 16:54 +0100, Jason H wrote:
> Many thanks to those who responded and provided clarity.
>
> I would propose that if there is whitespace in the preceding
> position, that it is a tab. If it is non-whitespace, then it should
> trigger autocomplete.
While I respect your opinion about the tab key, I'd like to ask the
devs to please keep it configurable. I'm very much used to Ctrl+Space,
and that's what I press when I want the auto complete box to pop up. I
never want to see it when I press tab.
That being said, have you tried to just re-configure it to tab? I tried
it briefly and it seems to be working, though then it is no longer
usable for indentation.
>
> Also, I think should behave like a bash shell, completing as far as
> it has commonality. comp[tab] ->complete|[d,s,ing] rather than
> selecting the entry outright (unless that's the only candidate).
> Opinions?
In the current version the auto complete box shows you not only what
begins with what you typed, but also anything that is similar. It
doesn't complete anything until you select something from the auto
complete box. I think this is very helpful when you make a typo, or
just deal with a large code base that is unfamiliar to you.
While I understand that you desire a stricter behaviour, I'd like to be
also able to use the current one (which is more forgiving).
Best regards,
Tim
More information about the Qt-creator
mailing list