##// END OF EJS Templates
[merge] Merging Gael's ipython-sync-frontend WX branch....
[merge] Merging Gael's ipython-sync-frontend WX branch. Original branch location: https://code.launchpad.net/~gael-varoquaux/ipython/ipython-sync-frontend

File last commit:

r1554:1f3ce460
r2095:15d76858 merge
Show More
ipy_stock_completers.py
17 lines | 527 B | text/x-python | PythonLexer
""" Install various IPython completers
IPython extension that installs completers related to core ipython behaviour.
The actual implementations are in Extensions/ipy_completers.py
"""
import IPython.ipapi
ip = IPython.ipapi.get()
from ipy_completers import *
ip.set_hook('complete_command', module_completer, str_key = 'import')
ip.set_hook('complete_command', module_completer, str_key = 'from')
ip.set_hook('complete_command', runlistpy, str_key = '%run')
ip.set_hook('complete_command', cd_completer, str_key = '%cd')