Install the PyDev plugin and Eclipse if you don't already have them.
Download the latest version of the live-py plugin jar file from the downloads page.
Copy the plugin jar file to Eclipse's dropins folder. On my workstation I was able to do that in two different ways.
Copy it to the system-wide Eclipse installation.
sudo cp live-py_22.214.171.124206132143.jar /usr/lib/eclipse/dropins/
Copy it to your
.eclipsefolder in your home directory. This doesn't require sudo permission.
mkdir ~/.eclipse/org.eclipse.platform_3.7.0_155965261/dropins cp live-py_126.96.36.199206132219.jar \ ~/.eclipse/org.eclipse.platform_3.7.0_155965261/dropins
Open any Python file, and add a comment like this:
# echo on
You should see an extra column next to the line numbers that shows the results of any code that runs. It may be less distracting to turn off the line numbers.
- Delete the jar file from the dropins directory.
- Restart Eclipse.
- local variable assignments
- function calls, and multiple calls.
- compile errors
- runtime exceptions
- infinite loops halted.
- print statements don't work.
- Any syntax error currently blanks out the results, should just show previous result with error marker.
- Figure out how to add a horizontal scroll bar.
- Move ruler to right side.