##// END OF EJS Templates
Merge pull request #3538 from minrk/launch_ip...
Merge pull request #3538 from minrk/launch_ip add IPython.start_ipython A public API for starting a real (non-embedded) IPython instance. should avoid API breakage in the future due to simple module renames, as has just happened with the removal of frontend. For implementation purposes, I have added launch_new_instance as a classmethod on Application. I did this, because I wanted to add the ability to pass arguments to the instance, and didn't want to manually update every duplicate launch_new_instance. closes #1537

File last commit:

r2267:928c921b
r11281:fa43da77 merge
Show More
ipy_app_completers.py
19 lines | 583 B | text/x-python | PythonLexer
""" Install various IPython completers
IPython extension that installs the completers related to external apps.
The actual implementations are in extensions/ipy_completers.py
"""
from IPython.core import ipapi
ip = ipapi.get()
from ipy_completers import *
ip.set_hook('complete_command', apt_completer, re_key = '.*apt-get')
ip.set_hook('complete_command', svn_completer, str_key = 'svn')
ip.set_hook('complete_command', hg_completer, str_key = 'hg')
# the old bzr completer is deprecated, we recommend ipy_bzr
#ip.set_hook('complete_command', bzr_completer, str_key = 'bzr')