mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Allow path completion on notebook.
add -(dash) /(slash) \(antislash for windows) : (colon) ~(tilde) as part of words symbol for notebook completer to help for path completion Fixes #1969
This commit is contained in:
parent
643837dff3
commit
0161c55594
@ -104,7 +104,7 @@ var IPython = (function (IPython) {
|
||||
|
||||
// we need to check that we are still on a word boundary
|
||||
// because while typing the completer is still reinvoking itself
|
||||
if (!/[0-9a-z._]/i.test(pre_cursor)) {
|
||||
if (!/[0-9a-z._/\\:~-]/i.test(pre_cursor)) {
|
||||
this.close();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user