Page 1 of 1

Suggestion -- Run last compile with F6

Posted: Mon May 31, 2004 9:37 pm
by syntax error
I tend to use a variety includes when developing.
All of which I load up into the IDE ...


PB EDITOR
[main code][gui][constants][subs]

Now, let's suppose I choose [main code] and hit F5 to run.
No problem. If I wish to change something in the subs though I need to click the [subs] tab, edit the code, save modifications, click back to [main code] then F5 to re-test.

As you can imagine, this is a little bit of a chore.

So, how about F6 to 'Run last compiled code' ?

What this would do is simply run the [main code] (that is, the last code lauched with F5) and leave the IDE as is.
So, if I'm ammending the [subs] I can just save and F6 to test.

Posted: Wed Jun 02, 2004 8:45 pm
by GPI
What about F8?

Because jaPBe use now:
F5 Compile without Debugger
F6 Compile with Debugger (for IDE: Toggle Debugger?)
F7 Create Executable

Posted: Thu Jun 03, 2004 8:50 am
by Edwin Knoppert
Avoid keys near to each other.
You should know how often i press F5 and 6 together.
In another editor i delete rest of line with it then F5 also works but does saves contents first.
Undo is impossible then..

(Lost my code)

Posted: Thu Jun 03, 2004 9:04 am
by Dare2
F8 sounds good. In fact any way to do this sounds good!

I use syntax error's approach.

I often run a modded include instead of going back to the main prog. :? And then spend a moment wondering what happened. So this would really be great for the absent-minded and easily confused types like me.

Perhaps this would also refocus or tab back to the code being run? A very visual advice of what is actually being done. :)

Posted: Thu Jun 03, 2004 5:22 pm
by GPI
Dare2 wrote:I often run a modded include instead of going back to the main prog. :?
Btw: in jaPBe you can set a mainfile. So when you compile a include the mainfile is compiled.

Posted: Thu Jun 03, 2004 11:32 pm
by Dare2
Aha.

Okay, found that option. Thanks! :)