In other Python IDEs (PythonWin and Idle) it's possible to hit a key and have your current source file window reloaded into the console. I find this useful when experimenting with a piece of code; you can call functions from the console interactively and inspect data structures there.
Is there a way to do this with Eclipse/Pydev?
So far I've been making do with this hack in my source file:
def relo():
execfile("/Path/To/Source.py", __builtins__)
I call relo()
in the console after I save changes to the source. But I'd much rather just tap a key. I'm using pydev 1.4.7.2843.
This is somewhat related to this question, but I want to just reload the whole source file.