ASKSAGE: Sage Q&A Forum - Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 24 Mar 2020 15:40:47 -0500Tab autocompletion not working anymorehttps://ask.sagemath.org/question/50341/tab-autocompletion-not-working-anymore/The tab autocompletion is not working anymore. Instead I get the following message:
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.0, Release Date: 2020-01-01 │
│ Using Python 3.8.2. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
/usr/lib/python3.8/site-packages/jedi/cache.py:111: DeprecationWarning: Deprecated since version 0.16.0. Use get_signatures()[...].params
result = method(self, *args, **kwargs)
What can I do to solve the problem?ThrashTue, 24 Mar 2020 15:40:47 -0500https://ask.sagemath.org/question/50341/tab completion observationhttps://ask.sagemath.org/question/41481/tab-completion-observation/I use SageMath 8.1 in Windows 10 Native, and work on Jupyter Notebook.
I recently learned about the tab completion feature.
When I write: "object." in a notebook code cell I get a list of possible completion to that object. That is awesome.
But when I click on one of those options in the list I was expecting that option to be copied to the cell.
That does not happen. I consider this a missed opportunity that should be fixed.
Daniel
danielvolinskiSat, 10 Mar 2018 18:16:51 -0600https://ask.sagemath.org/question/41481/Terminal with autocomplete no longer usefulhttps://ask.sagemath.org/question/35826/terminal-with-autocomplete-no-longer-useful/See the following screenshot.
![image description](/upfiles/14805300251079995.png)
Tab-completion in the Mac terminal is no longer useful, because there is no way to scroll down to see the rest of the options. I don't know when this change came in but I have a beta of 7.4. I assume that we are either using IPython differently, or that it changed itself. Can anyone help? Or is this simply a bug?kcrismanWed, 30 Nov 2016 12:23:57 -0600https://ask.sagemath.org/question/35826/Navigating autocompletion listhttps://ask.sagemath.org/question/25430/navigating-autocompletion-list/ When I enter the beginning of a function name in the sage notebook and press tab, I get a list of possible completions. The first few of these can be navigated using arrow keys, for the rest I apparently have to use the mouse.
Example: type `cycl` and press tab. The list looks like this:
cyclic_permutations
cyclic_permutations_iterator
cyclotomic_cosets
cyclotomic_polynomial
cyclotomic_value
The first three can be navigated using the arrow keys, the latter three can not. When I add one more letter, turning the input into `cyclo`, then I only have a single navigable function and still can't reach the other two.
Why is that? Is there some configuration setting I could tweak to affect this behavior?MvGThu, 08 Jan 2015 03:56:58 -0600https://ask.sagemath.org/question/25430/tab completion for mathematica failshttps://ask.sagemath.org/question/25184/tab-completion-for-mathematica-fails/Hello,
In sage 5.6 if I type mathematica and then TAB, the program hangs. I think it's probably waiting for some input from Mathematica. I can see that a Mathematica process is started. For Maple, the TAB completion works well. Can you confirm this?
I'm using 'Sage Version 6.5.beta2, Release Date: 2014-12-04'
SLTue, 09 Dec 2014 16:05:06 -0600https://ask.sagemath.org/question/25184/Showing options after writing "." when you choose an element of a listhttps://ask.sagemath.org/question/10036/showing-options-after-writing-when-you-choose-an-element-of-a-list/Let me illustrate my question with a particular (naive) example of a list.
sage: a=graphs.CompleteGraph(3)
sage: b=graphs.CompleteGraph(4)
sage: c=[a,b]
In this situation if in a new line one writes down "a." and press "Tab", then one gets a list of all options to be used for the object a (for example "a.category", "a.center", etc.).
On the other hand, if in a new line one writes down "c[0]." and press "Tab", then one does not get the right feedback. Is there some way to make this work like in the previous paragraph (and display the options for the object "c[0]"?boumolWed, 17 Apr 2013 23:38:14 -0500https://ask.sagemath.org/question/10036/Searching through completions.https://ask.sagemath.org/question/9639/searching-through-completions/Hello all!
Is there a way of searching through the possible completions while using sage in a terminal?
Eg. If `g` is a `Graph`, then `g.<TAB>` yields more than 200 possible completions.
Does anyone know of a way to get only those completions containing a certain string, say `path`, without leaving the terminal? Here one would expect to get the 12 (or so) methods containing the word `path`, none of which have `path` as a prefix.
Thanks :)
fidbcSun, 16 Dec 2012 09:55:17 -0600https://ask.sagemath.org/question/9639/Autocompletion of filenames in Sage notebookhttps://ask.sagemath.org/question/8287/autocompletion-of-filenames-in-sage-notebook/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.jdcTue, 23 Aug 2011 04:50:32 -0500https://ask.sagemath.org/question/8287/