##// END OF EJS Templates
More code reuse between GUI-independant frontend and Wx frontend: getting...
More code reuse between GUI-independant frontend and Wx frontend: getting the current edited buffer and setting it throught properties.

File last commit:

r681:d0f4fbb0
r1462:ffe71205
Show More
ipy_stock_completers.py
17 lines | 527 B | text/x-python | PythonLexer
/ IPython / Extensions / ipy_stock_completers.py
vivainio
added ipy_completers.py, ipy_stock_completers.py now only ENABLES the completers as opposed to implementing them
r589 """ Install various IPython completers
vivainio
merge all from 0.7.3 branch to trunk
r503
vivainio
create app_completes, move non-core completers there, install stock completers as default, ipy_signals in sh profile
r681 IPython extension that installs completers related to core ipython behaviour.
vivainio
merge all from 0.7.3 branch to trunk
r503
vivainio
added ipy_completers.py, ipy_stock_completers.py now only ENABLES the completers as opposed to implementing them
r589 The actual implementations are in Extensions/ipy_completers.py
vivainio
merge all from 0.7.3 branch to trunk
r503
"""
import IPython.ipapi
ip = IPython.ipapi.get()
vivainio
added ipy_completers.py, ipy_stock_completers.py now only ENABLES the completers as opposed to implementing them
r589 from ipy_completers import *
vivainio
merge all from 0.7.3 branch to trunk
r503
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')