Compile & Unload

The features that we decide to not apply in the current time

Compile & Unload

Postby DGDanforth » Thu Nov 02, 2017 12:08 pm

In the spirit of reducing the number of /USE specific modifications of the framework
I request that the default ^K behavior be changed to Compile and Unload.

As it is now I have a Dev/Rsrc/Menus file solely created for that purpose.
I would think several of you probably also use that option.

-Doug
User avatar
DGDanforth
 
Posts: 1060
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA

Re: Compile & Unload

Postby Josef Templ » Thu Nov 02, 2017 3:02 pm

Ctrl-K is used heavily by many users including myself.
I would not change it. I also like that it does not Unload by itself.

If 'Compile and Unload' is so important I would add another shortcut for that.
For example Shift+Ctrl+K ( "*K" ).
We would have to check what is available.

- Josef
User avatar
Josef Templ
 
Posts: 1990
Joined: Tue Sep 17, 2013 6:50 am

Re: Compile & Unload

Postby DGDanforth » Fri Nov 03, 2017 12:52 am

After writing this topic I realized that I could put compile and unload into MyMenus.
However, on a quick check that does not work. I removed my Dev subsystem first
and put
Code: Select all
   "Compile"   "K"   "DevCompiler.CompileAndUnload"   "TextCmds.FocusGuard"

into My/Rsrc/Menus

Is the system dependent on the order in which it processes Menus with the last process
taking precedence?

-Doug
User avatar
DGDanforth
 
Posts: 1060
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA

Re: Compile & Unload

Postby Josef Templ » Fri Nov 03, 2017 5:51 am

Doug, the problem is that you get two menu items with the same shortcut Ctrl-K.
Which one should be chosen?
I think this is resolved by Windows, not by BlackBox, from left to right and top to bottom.
You must use a shortcut that is unique.

- Josef
User avatar
Josef Templ
 
Posts: 1990
Joined: Tue Sep 17, 2013 6:50 am

Re: Compile & Unload

Postby DGDanforth » Fri Nov 03, 2017 7:40 am

Josef Templ wrote:Doug, the problem is that you get two menu items with the same shortcut Ctrl-K.
Which one should be chosen?
I think this is resolved by Windows, not by BlackBox, from left to right and top to bottom.
You must use a shortcut that is unique.

- Josef


OK
I have solved my problem by creating a tool that rides on top of a module with the
command buttons "Compile", "Unload", and "Clear" since those are the most frequent
actions I do when working on a module. "Compile" is DevCompiler.CompileAndUnload,
"Unload" is DevDebug.Unload and "Clear" is StdLog.Clear.

By using a button tool it avoids using two hands to type ^K. I sit in a recliner chair
(to keep weight off my feet) and am frequently eating a bowl of cereal. My laptop
rests on a board stretched between the arms of the chair and (until now) forced me
to set aside the bow in order to compile a file. Now I only need to do a one handed
mouse click.

-Doug
User avatar
DGDanforth
 
Posts: 1060
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA

Re: Compile & Unload

Postby Josef Templ » Fri Nov 03, 2017 1:34 pm

Great, that's settled.
It seems to be time for Release 1.7.1.

- Josef
User avatar
Josef Templ
 
Posts: 1990
Joined: Tue Sep 17, 2013 6:50 am

Re: Compile & Unload

Postby Ivan Denisov » Fri Nov 03, 2017 3:01 pm

Josef Templ wrote:Great, that's settled.
It seems to be time for Release 1.7.1.

- Josef

I ask a week or two for testing. Maybe the Russian community will report some bugs in RC1.
Ivan Denisov
 
Posts: 1692
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia


Return to Rejected (Features)

Who is online

Users browsing this forum: No registered users and 1 guest

cron