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

Ariel Molina ariel at edis.mx
Wed Mar 9 17:23:27 CET 2016


This behavior is confusing, there are some bugs filed against it. See:

https://bugreports.qt.io/browse/QTCREATORBUG-14111
https://bugreports.qt.io/browse/QTCREATORBUG-2155

Ariel

On Wed, Mar 9, 2016 at 9:45 AM, Coda Highland <chighland at gmail.com> wrote:

> 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
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>



http://edis.mx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20160309/377cbba0/attachment.html>


More information about the Qt-creator mailing list