0

When i open a test.py file with te following line in it :

print "Hello"

in textwrangler and run it, it will print out 'Hello'. When i type underneath it:

print "I'am"

and i run it, it will display Hello and I'm underneath it.

I don't have to save the file before running it.

But now I'm using Komodo, and with every change i do, i'll have to safe it first before I'm running it. Otherwise it doesn't mind the changes (like textwrangler you can edit and run and don't have to save it before running)

I know I can make a ' save and run' makro, but I don't won't that every change(with debugging etc) is saved to my file..

Is there a option so I can change this behavior ?

Thanks !

Brandon Wamboldt
  • 15,799
  • 12
  • 51
  • 87
Lenlux
  • 41
  • 5
  • The way textwrangler probably does this is to cheat - it saves a temporary file and then runs that. You can create the macro for this, just save the file as a temporary file and run that. That way your original file will remain intact. – bosnjak Apr 10 '14 at 12:12
  • that's a good idea ! Is it possible that you show me an example of this makro ? – Lenlux Apr 10 '14 at 12:42
  • possible duplicate of [Komodo - watch variables and execute code while on pause in the program](http://stackoverflow.com/questions/1711193/komodo-watch-variables-and-execute-code-while-on-pause-in-the-program) – Paul Sweatte Sep 04 '14 at 17:42

0 Answers0