Have F5 compile and run the PROJECT, in Ted?
Monkey Forums/Monkey Programming/Have F5 compile and run the PROJECT, in Ted?
| ||
Hi all, I'm sure I've just missed some vital tidbit, but I can't figure this out. When I hit F5 in Ted, it does a compile and run. But ONLY if the currently selected file contains the "Main" function, otherwise I get the error that "Main" is not found. How can I tell Ted which file in the project contains Main? I'm tired of selecting that file manually, each time I want to compile! Thanks! |
| ||
Use 'lock build file' in the build menu. |
| ||
omg, thank you! :) |
| ||
Perhaps it could be called "Set Project Build File" or something like that? I was seriously LOOKING for this option, and looked at that menu many times, but it somehow didn't occur to me that "Lock Build File" would do what I wanted. |
| ||
LOL, Ziggy and Ryan must be thanking you for making this so obscure! |
| ||
Wow, never knew about it too... good to know it's there, will save me time in the future :) |
| ||
I would love to be able to reassign F5 to Ctrl+R. I have a media keyboard that has a tiny F5 key on it and its a real pain trying to use it to compile code. |
| ||
Lock Build file has been around since very early Blitz, but yeah I guess it's obscurely name. @SlopeOak: I really recommend getting Jungle! |
| ||
If Jungle worked on Mac, I'd be using it already! |
| ||
So would I. Get a PC ;-p I have all my source in dropbox now so I can dev at speed on the PC but use my Macbook Air for coding the same game when I'm on the move. |
| ||
newer know for what to use this... but i needed it all time :-) Rename it to: "Set main file" |