| I'm working within a Sage notebook (not a terminal). The tab autocompletion for commands is lovely, but is there something similar for filenames and folders when you're loading/attaching? For example, if I want to attach the file myscripts/folder123/example456.sage (assuming that 'myscripts' is in my load_attach_path), I would type: attach folder123/example456.sage If I were to type only a portion of that path and hit tab, it doesn't autocomplete or give completions for the folder or filename; it either does nothing, indents, or (e.g., after the "e" in "example123") brings up a list of commands, without listing any filenames. Is there anything I can do to change this? Disclaimer: I'm very new to all this, and pretty Unix-incompetent. |
| This is a fair question, and autocompletion of paths does work from the sage command line (because of ipython, I think). Unfortunately, no, there is no autocompletion in notebook cells.
Belated thanks for your answer, Niles. So, is autocompletion in notebooks a cut-and-dried "No, and there is no fix, and there never will be"? Might not someone more clever than me find a way to implement this, or is there some unavoidable obstruction?
jdc (Aug 29 '11)
That, I'm afraid, I do not know. I wouldn't know how to do it, and I don't know if anyone is working in that direction. It probably doesn't require someone particularly clever, just someone who decides to make it happen :)
niles (Aug 30 '11)
Thanks again!
jdc (Aug 31 '11) |
Asked: Aug 23 '11
Seen: 82 times
Last updated: Aug 23 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.