##// END OF EJS Templates
More work on refactoring things into components....
More work on refactoring things into components. * Prefilters have been componentized (prefilter.py). * We are not including auto_attr from NiPy in IPython.utils. * All components are now using auto_attr when resolving refs to other components. * The AliasManager component has been updated to reflect the prefilter refactor. * prefilter.splitUserInput has been moved to IPython.core.splitinput.split_user_input as we are using this in other places in the IPython code base.

File last commit:

r2064:a2e46ebb
r2244:13603eb6
Show More
ipy_stock_completers.py
17 lines | 529 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
"""
from IPython.core import ipapi
ip = 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')