mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Merge pull request #1974 from Carreau/notebook-path-completion
Allow path completion on notebook. add slash (/) for unix, backslash (\) and colon (:) for windows as authorized characters in completions.
This commit is contained in:
commit
f200bd0392
@ -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