Path completion inside strings?

17 views
Skip to first unread message

Brendan Barnwell

unread,
Dec 26, 2018, 7:07:35 PM12/26/18
to Project Jupyter
I've found that, inside a Jupyter notebook, I cannot use tab to autocomplete file paths when the path to be completed is inside a string.  For instance, if I have something like this:

some_dir/other_dir/<TAB>

I get a list of filenames that would complete the path.  But if I have this (with or without a closing quote mark):

"some_dir/other_dir/<TAB>

I don't get the path completions.  (Instead, I get ordinary completions of variable names and so on.)  But if I use plain IPython in the console, I do get the completions in the latter case, so it seems Jupyter's behavior differs here from the underlying IPython behavior.

Is it possible to get Jupyter notebooks to complete paths inside strings?  If so, how?
Reply all
Reply to author
Forward
0 new messages