##// END OF EJS Templates
Removed 'extension.py' example with invalid syntax....
Removed 'extension.py' example with invalid syntax. This was an example with invalid syntax and no actual explanations whatsoever. All examples should contain detailed comments explaining their purpose, otherwise they are useless.

File last commit:

r1081:f814d6ec
r1584:0eca6692
Show More
ipy_app_completers.py
19 lines | 581 B | text/x-python | PythonLexer
ville
initialization (no svn history)
r988 """ Install various IPython completers
IPython extension that installs the completers related to external apps.
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', 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')
Ville M. Vainio
ipy_bzr: new command completer for bzr, also completes --options. Deprecates the old bzr completer (now inactivated)
r1081
# the old bzr completer is deprecated, we recommend ipy_bzr
#ip.set_hook('complete_command', bzr_completer, str_key = 'bzr')