[Qt-creator] It's time to fix double redundant quotes

Coda Highland chighland at gmail.com
Wed Mar 9 16:45:56 CET 2016


On Wed, Mar 9, 2016 at 12:14 AM, Andreas Pakulat <apaku at gmx.de> wrote:
> Hi,
>
> On Tue, Mar 8, 2016 at 11:10 PM, Jason H <jhihn at gmx.com> wrote:
>>
>> A while back, I started a discussion about Creator's quoting policy.
>> There was a lot of support, and a few people were concerned about changing
>> the behavior that has been there since the beginning.
>>
>> However, I'm again tired of fighting with creator inserting "" when I type
>> " and deleting both when I backspace over one. This behavior only occurs in
>> QtCreator, and no other editor _ever_, and it needs to go. It is a "clever
>> trick" that costs more than it is clever. At least for me, YMMV.
>
>
> Thats actually not true, all kate-based editors/IDE's used to have the same
> behavior. I haven't used those for a few years now so it may have been
> changed. In addition Eclipse' Java editor also has almost the same behavior.
>
> That being said, QtC does have a few bugs that I believe Eclipse may not
> have. For example, hitting " twice in a row does not insert 3 quotes, but
> rather inserts a double-quote and then moves my cursor after the second
> quote.

This isn't a bug. MOST auto-pairing functions I've used have the
behavior that it keeps track of the character it auto-inserted and if
you type it in that position it assumes you were typing as if the
auto-inserted one wasn't there.

/s/ Adam



More information about the Qt-creator mailing list