##// END OF EJS Templates
Add Tootip to notebook....
Add Tootip to notebook. When user press '(' and nothing for 1200ms, 'object_info_request' sent to the kernel. Then tooltip with 'definition' and beggining of 'docstring' shown to the user if non empty response. Unlike Completion <select> , <div> is not focusable so event handled in main cell event handeling function Add some CSS3 that most browser with websocket should support.

File last commit:

r2267:928c921b
r5397:7155489a
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')