Jython Console is a Jython Interactive Interpreter that adds Code Completion.
Check out the screenshots.
Requirements
Installation
- Download jythonconsole-0.0.6.zip
- Unzip the archive
- Open a terminal or cmd prompt
- cd jythonconsole-0.0.6
- jython console.py
Hints
- <TAB> and <ENTER> choose method completion
- remember to use the keyboard not the mouse
- <ESC> makes the popup go away
0.0.6
0.0.5
- beautify call tips - remove 'java.lang.', translate to byte[, to char[, etc.
- don't show static methods when completing methods for an object instance
- show properties for accessors when completing methods e.g. foo for getFoo()
- fix Issue 3 sends KeyboardInterrupt on CTRL+C or CTRL+BREAK
- fix Issue 4 patch submitted by andeol
- fix Issue 5 Page Up and Down in popup pgupdown - patch submitted by andeol
- remove dis.py since it's no longer used
- modify jintrospect since inspect.py from jython 2.2 does not have isbuiltin()
0.0.4
- change code since os.path missing from Jython 2.2a0
- remove stack trace when completion fails
0.0.3
- code cleanup
- more unit tests
- Emacs style keybindings C-a, C-e, C-k, C-y
- hide special and private python methods by default
- new implemention of jintrospect.ispython for Jython2.2 changes
- add Console.main(namespace) to make embedding in Java easier
- history ignores duplicates
- backspace won't overwrite the prompt
- too many backspaces in popup will now close the popup
- convert stray tabs to spaces
0.0.2
- '(' and ')' now insert at the caret rather than at the end of the line
- Duplicates are removed from the method completion list for Java classes (Patch from Harry Fuecks)
- Added auto complete for imports
- Added auto complete for static methods and static field on java classes
- Fix StackOverflow in introspect.py with Jython 2.2b1
Credits
- This project uses code from Patrick O'Brien's PyCrust as well as inspect.py from Python 2.2.2 for Python completion.
- The UI uses code from Carlos Quiroz's Jython Interpreter for JEdit
This project moved here from the old site.