Matthias BUSSONNIER
d4e9858fef
pep8
14 years ago
Matthias BUSSONNIER
cc62fc63f9
don't care about lleading prct in completion
...
mainly to avoid weird shared start with cell magics
14 years ago
Matthias BUSSONNIER
567b6bbcd2
don't need to check for leading dot
14 years ago
Matthias BUSSONNIER
795cb7bb21
bracket on same line
14 years ago
Matthias BUSSONNIER
9cfdea0d1c
take care of token starting by '.' (dot)
14 years ago
Matthias BUSSONNIER
d74a58b3c8
[notebook] deduplicate completion results
...
remove context completion that are duplicates from introspection
completion
fixes #1840
14 years ago
Matthias BUSSONNIER
129f114868
Uppercase constant keycode in utils.js
14 years ago
Matthias BUSSONNIER
f3ff31b75a
remove CamelCasse methods from completer.js
14 years ago
Matthias BUSSONNIER
b2a04396d8
space before function keyword in js
14 years ago
Matthias BUSSONNIER
ea325c095b
beautify completer.js
14 years ago
Matthias BUSSONNIER
2976d8ea10
fix multiple busy in title bar due to completer
14 years ago
Matthias BUSSONNIER
7301213124
simplify completer logic as we don't exec on behalf of cell
...
also skip making kernel completion request if kernel is busy
14 years ago
Matthias BUSSONNIER
98303f5f7d
Clean code, retab and minor fix
...
remove unused code, convert some tab to space, and correct some
semicolon according to jslint
jlint fixes
14 years ago
Brian Granger
0d6a698688
Major refactoring of the Notebook, Kernel and CodeCell JavaScript.
...
* Kernel doesn't depend on Notebook or CodeCell.
* CodeCell doesn't depend on Notebook, only Kernel.
* All of the kernel management logic has been moved out of the
Notebook into the Kernel.
* Public methods of the Kernel (execute, complete, etc) take
a callbacks object that registers the callbacks for that msg.
(rebased, cherrypicked, by Bussonnier Matthias <bussonniermatthias@gmail.com>)
(and tabs removed)
Conflicts:
IPython/frontend/html/notebook/static/js/codecell.js
IPython/frontend/html/notebook/static/js/completer.js
IPython/frontend/html/notebook/static/js/tooltip.js
14 years ago
Matthias BUSSONNIER
94d8683400
allow number in tokens
14 years ago
Matthias BUSSONNIER
7e7df86761
more cleaning
14 years ago
Matthias BUSSONNIER
cf19389cdd
clean code, remove duplicate unused lines
14 years ago
Matthias BUSSONNIER
6a658a6fa8
move more code into the completer itself
14 years ago
Matthias BUSSONNIER
cfaa7ba427
import Utils keycodes into the completer
14 years ago
Matthias BUSSONNIER
472fe4c19e
fix replace range bug
...
pylab.l<tab><tab> would be replace by .l because of a bug in common
start finding .l on the fifth position of pylab.start.
14 years ago
Matthias BUSSONNIER
856c872ba7
use strict and clean a little.
...
adding 'use strict' in some place to be more agressive on the
delaration of the variables.
clean name and details here and there
14 years ago
Matthias BUSSONNIER
5076118509
implement the completer in a separate class
...
more feature like
-completion based on 2 sources :
* introspection in kernel
* context of current cell (complete with matching words)
* each source has its color in the completer
14 years ago