-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filesystem completions always relative to root directory of jupyter #140
Comments
This is something Jupyter does explicitly for all kernels. |
I'm not sure we're on the same page with this so just wanted to give a concrete example because I don't think the behavior is the same for the python kernel. E.g. suppose my home directory is
When I start up a matlab kernel and type
as expected. If I then type |
Ahh, the logic for path completion is here. I'm not sure why |
Ok, I hadn't realized that the filesystem completion didn't come from the kernel's |
I don't actually have a copy of Matlab. I just confirmed that the Octave kernel is working as expected. |
A fairly significant annoyance is that file system completions are all relative to the directory the kernel starts up in as opposed to the working directory. So, while
cd
works properly to change the working directory for any code that is run through the matlab engine, the auto-complete always thinks your working directory is the directory the kernel started up in. At least that's what happens for me on 2019b. I looked into this a little bit and came up empty for a fix.The text was updated successfully, but these errors were encountered: