On Dec 21, 2005, at 12:11 PM, Sune Foldager wrote:
On 21/12/2005, at 18.30, Charilaos Skiadas wrote:
Yes, I can add that to the Run Ruby command, for general use.
The current problem with the Run Ruby command is that it handles saving the file itself, to allow it to work with unsaved files. This makes it impossible to use save all files of course. This was an idea of Allan's, and I don't really like it, but on the other hand TM can't currently do it in any other way. I still think a more transparent system should be made, but I'm not entirely sure how it's best done.
Why not create a separate "build" or "save all and run" command, that tries to save all files in the project etc, possibly bound to cmd-B? This way the run command can still be used for testing quick hacks with untitled files, a feature I really like. Coming from LaTeX, I'm used to using cmd-B when I want to see what the result of my changes is. Alternately, we could use cmd-R and cmd-shift-R for the two commands.
-- Sune.
Haris