Re: [Interest] QT Creator consistency

2022-12-03 Thread Turtle Creek Software
It's good to have multiple ways to do common things.

F2 is not great because I'm often leaned way back with right hand on mouse,
and with
left hand holding drink, snack, scratching or whatever. An extra click is
faster then reaching to the keyboard.

BTW Follow Symbol Under Cursor does *not* go from source to header if you
double-clicked on the function first.
That changed a few updates ago.  It works properly if the text is not
selected.  Odd.
I probably do the double-click by habit left over from Xcode, Visual Studio
and/or CodeWarrior.

Actually, aside from temporal consistency, there's a lot to be said for
consistency between development apps also.
Casey McD



On Sat, Dec 3, 2022 at 3:56 PM A. Pönitz  wrote:

> On Fri, Dec 02, 2022 at 07:24:56PM -0500, Turtle Creek Software wrote:
> > The last few updates to QT Creator have made small changes to the user
> > interface, annoyingly.
> >
> > Using the latest, I weirdly kept seeing preprocessor output. Huh?  Turns
> > out Follow Symbol Under Cursor moved from #2 to #3 in the right-click
> > menu.  When using a command 50 times a day, one clicks by position not by
> > reading text.
> > [...]
>
> You could press  instead of positioning the mouse over the symbol,
> right-click, move the mouse to entry #2 or #3, and click again to
> trigger the action/.
>
>
> > Minor changes have big impact.
>
> Indeed.
>
> Andre'
>
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] QT Creator consistency

2022-12-03 Thread Elvis Stansvik
Den lör 3 dec. 2022 kl 23:02 skrev Turtle Creek Software
:
>
> It's good to have multiple ways to do common things.
>
> F2 is not great because I'm often leaned way back with right hand on mouse, 
> and with
> left hand holding drink, snack, scratching or whatever. An extra click is 
> faster then reaching to the keyboard.

I hear you man. Slowly slipping further down the chair, to the point I
cannot even reach the keyboard, is the absolute highlight of my work
day afternoon.

It's downright outrageous that the Qt Creator team dare move a menu
entry by several pixels, and then have the audacity to suggest using
the keyboard.

Frankly, that they don't include a free set of physical foot pedals
for the most common actions is just inexplicable.

Elvis

>
> BTW Follow Symbol Under Cursor does *not* go from source to header if you 
> double-clicked on the function first.
> That changed a few updates ago.  It works properly if the text is not 
> selected.  Odd.
> I probably do the double-click by habit left over from Xcode, Visual Studio 
> and/or CodeWarrior.
>
> Actually, aside from temporal consistency, there's a lot to be said for 
> consistency between development apps also.
> Casey McD
>
>
>
> On Sat, Dec 3, 2022 at 3:56 PM A. Pönitz  wrote:
>>
>> On Fri, Dec 02, 2022 at 07:24:56PM -0500, Turtle Creek Software wrote:
>> > The last few updates to QT Creator have made small changes to the user
>> > interface, annoyingly.
>> >
>> > Using the latest, I weirdly kept seeing preprocessor output. Huh?  Turns
>> > out Follow Symbol Under Cursor moved from #2 to #3 in the right-click
>> > menu.  When using a command 50 times a day, one clicks by position not by
>> > reading text.
>> > [...]
>>
>> You could press  instead of positioning the mouse over the symbol,
>> right-click, move the mouse to entry #2 or #3, and click again to
>> trigger the action/.
>>
>>
>> > Minor changes have big impact.
>>
>> Indeed.
>>
>> Andre'
>>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] QRegularExpression for replace

2022-12-03 Thread Scott Bloom
That is basically what I did for the non problematic replacements.  The ones 
that not only need the captured text, but also need the rest of the text I 
didn't bother implementing

Thanks.

-Original Message-
From: Interest  On Behalf Of Thiago Macieira
Sent: Thursday, December 1, 2022 8:14 PM
To: interest@qt-project.org
Subject: Re: [Interest] QRegularExpression for replace

On Thursday, 1 December 2022 11:43:39 PST Scott Bloom wrote:
> Im looking for a way using QRE to do something like the following
> 
> auto regEx = QRegularExpression( "(?.*)" ); if ( regEx.match( 
> string ) )
> auto newString = regEx.replace( string, "${name}" );

This requires having a parser for the replacer too, which is not something we 
currently have.

The QRegularExpressionMatch result gives you all the regions in the string 
where captures were found, so you can  do this yourself if you know your 
captures.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest