Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-01

Easy switching build modes

10 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

Hi List.

I'm looking for an easy way to switch between buildmodes, but so far I can only do it where they are also defined (Project->Options->Buildmodes).

Does there exists a window, a shortcut or something like this to make switching easier?

Kind regards,
Torsten Bonde Christiansen.

Reply by email

zeljko
to Torsten Bonde Christiansen
Torsten Bonde Christiansen wrote 7 lines
Hi List. I'm looking for an easy way to switch between buildmodes, but so far I can only do it where they are also defined (Project->Options->Buildmodes). Does there exists a window, a shortcut or something like this to make switching easier?

There should be dropdown menu in right of Project options speedbutton (left of "Run" speed button ... that one with green arrow img) ... (but dropdown menu arrow is visible only in case when you have > 1 build mode for project).

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120127/0e6b2b4c/attachment.html>

Reply by email

Torsten Bonde Christiansen
to zeljko
zeljko wrote 24 lines
On Friday 27 of January 2012 17:19:13 Torsten Bonde Christiansen wrote: > Hi List. > > I'm looking for an easy way to switch between buildmodes, but so far I > can only do it where they are also defined (Project->Options->Buildmodes). > > Does there exists a window, a shortcut or something like this to make > switching easier? There should be dropdown menu in right of Project options speedbutton (left of "Run" speed button ... that one with green arrow img) ... (but dropdown menu arrow is visible only in case when you have > 1 build mode for project).

Sorry my bad - i'm just not used to using most of the GUI part, i prefer keyboard shortcuts... but i found it.

Thank you.

-Torsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120127/8aa7a6eb/attachment.html>

Reply by email

Michael Schnell
to Torsten Bonde Christiansen: Hi List. I'm looking for an easy way to switch between buildmodes, but so far I can only…
Torsten Bonde Christiansen wrote 5 lines
I'm looking for an easy way to switch between buildmodes, but so far I can only do it where they are also defined (Project->Options->Buildmodes).

For me it's ctr-shift F11 (maybe just F11 for you if you are not using Suse Linux).

This opens the Project Options window at the point you left it last time (e.g. Buildmodes).

-Michael

Reply by email

zeljko
to Michael Schnell
Michael Schnell wrote 10 lines
On 01/27/2012 05:19 PM, Torsten Bonde Christiansen wrote: > I'm looking for an easy way to switch between buildmodes, but so far I > can only do it where they are also defined > (Project->Options->Buildmodes). For me it's ctr-shift F11 (maybe just F11 for you if you are not using Suse Linux). This opens the Project Options window at the point you left it last time (e.g. Buildmodes).

Not so intuitive, but can be used as workaround for kbd only users. I'll see with Juha if it's possible to add special shortcut for build modes switch (let it show buildmodes popup menu so you can choose right build mode with keyboard).

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120127/79e1e156/attachment.html>

Reply by email

Mattias Gaertner
to zeljko
Show quoted text 16 lines
On Friday 27 of January 2012 17:55:30 Michael Schnell wrote: > On 01/27/2012 05:19 PM, Torsten Bonde Christiansen wrote: > > I'm looking for an easy way to switch between buildmodes, but so far I > > can only do it where they are also defined > > (Project->Options->Buildmodes). > > For me it's ctr-shift F11 (maybe just F11 for you if you are not using > Suse Linux). > > This opens the Project Options window at the point you left it last time > (e.g. Buildmodes). Not so intuitive, but can be used as workaround for kbd only users. I'll see with Juha if it's possible to add special shortcut for build modes switch (let it show buildmodes popup menu so you can choose right build mode with keyboard).

Maybe we can add shortcuts for "Activate to build mode 1", "Activate to build mode 2", ... "Activate to build mode 9"

Mattias

Reply by email

Torsten Bonde Christiansen
to Mattias Gaertner

Sorry for the empty mail before.... :(

Mattias Gaertner wrote 21 lines
On Fri, 27 Jan 2012 18:13:58 +0100 zeljko wrote: > On Friday 27 of January 2012 17:55:30 Michael Schnell wrote: >> On 01/27/2012 05:19 PM, Torsten Bonde Christiansen wrote: >>> I'm looking for an easy way to switch between buildmodes, but so far I >>> can only do it where they are also defined >>> (Project->Options->Buildmodes). >> For me it's ctr-shift F11 (maybe just F11 for you if you are not using >> Suse Linux). >> >> This opens the Project Options window at the point you left it last time >> (e.g. Buildmodes). > Not so intuitive, but can be used as workaround for kbd only users. I'll see > with Juha if it's possible to add special shortcut for build modes switch (let > it show buildmodes popup menu so you can choose right build mode with > keyboard). Maybe we can add shortcuts for "Activate to build mode 1", "Activate to build mode 2", ... "Activate to build mode 9"

That would be really nice.

I typically use somewhere between 3 and 6 build modes on my project, and switching with some modifer keys + "number" would be very helpfull. At least being able to define the shortcuts would help a great deal.

-Torsten

Reply by email

Hans-Peter Diettrich
to Mattias Gaertner: On Fri, 27 Jan 2012 18:13:58 +0100 Maybe we can add shortcuts for "Activate to build mode…
Show quoted text 12 lines
>> For me it's ctr-shift F11 (maybe just F11 for you if you are not using >> Suse Linux). >> >> This opens the Project Options window at the point you left it last time >> (e.g. Buildmodes). > Not so intuitive, but can be used as workaround for kbd only users. I'll see > with Juha if it's possible to add special shortcut for build modes switch (let > it show buildmodes popup menu so you can choose right build mode with > keyboard). Maybe we can add shortcuts for "Activate to build mode 1", "Activate to build mode 2", ... "Activate to build mode 9"

What about scripts, which want to do e.g. a release build? How is that possible on the commandline?

DoDi

Reply by email

Sven Barth
to Hans-Peter Diettrich
Hans-Peter Diettrich wrote 18 lines
Mattias Gaertner schrieb: >>> For me it's ctr-shift F11 (maybe just F11 for you if you are not using >>> Suse Linux). >>> >>> This opens the Project Options window at the point you left it last >>> time >>> (e.g. Buildmodes). >> Not so intuitive, but can be used as workaround for kbd only users. >> I'll see with Juha if it's possible to add special shortcut for build >> modes switch (let it show buildmodes popup menu so you can choose >> right build mode with keyboard). > > Maybe we can add shortcuts for "Activate to build mode 1", "Activate to > build mode 2", ... "Activate to build mode 9" What about scripts, which want to do e.g. a release build? How is that possible on the commandline?

The help of lazbuild contains this:

--build-mode=<project build mode>
or --bm=<project build mode>
override the project build mode.

So this hopefully answers your question ;)

Regards,
Sven

Reply by email

zeljko
to Mattias Gaertner: On Fri, 27 Jan 2012 18:13:58 +0100 Maybe we can add shortcuts for "Activate to build mode…
Mattias Gaertner wrote 22 lines
On Fri, 27 Jan 2012 18:13:58 +0100 zeljko wrote: > On Friday 27 of January 2012 17:55:30 Michael Schnell wrote: > > On 01/27/2012 05:19 PM, Torsten Bonde Christiansen wrote: > > > I'm looking for an easy way to switch between buildmodes, but so far > > > I can only do it where they are also defined > > > (Project->Options->Buildmodes). > > > > For me it's ctr-shift F11 (maybe just F11 for you if you are not using > > Suse Linux). > > > > This opens the Project Options window at the point you left it last > > time (e.g. Buildmodes). > > Not so intuitive, but can be used as workaround for kbd only users. I'll > see with Juha if it's possible to add special shortcut for build modes > switch (let it show buildmodes popup menu so you can choose right build > mode with keyboard). Maybe we can add shortcuts for "Activate to build mode 1", "Activate to build mode 2", ... "Activate to build mode 9"

Yes, but in that case you must know what's build mode XXX ?? eg. I usually have 6-8 debug modes per project ...
Isn't it better to show popup menu, and then you choose build mode ?

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120128/5ae0a587/attachment.html>

Reply by email