Ask Your Question
0

Concerning “tab completion” in SageMathCell

asked 2017-01-20 16:00:06 +0100

Karl gravatar image

updated 2017-01-20 16:02:03 +0100

I am a newcomer to Sage. The PREP Tutorials(http://doc.sagemath.org/html/en/prep/Intro-Tutorial.html#help-inside-sage) introduce two applications of “tab completion”:

  1. If you aren’t one hundred percent sure of the name of a command.
  2. Use this to see what you can do to an expression or mathematical object.

I tried some examples of the first type in SageMathCell and succeeded. But, in SageMathCell, when I tried some second type examples that the tutorials provide, I didn't see a list pop up. Is there something wrong? I would appreciate any help with this situation.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-01-20 16:22:59 +0100

kcrisman gravatar image

updated 2017-01-20 16:24:22 +0100

I don't believe that the 2nd would be supported in the cell, because it has no way of knowing what your object is until evaluated, and hence no idea of what you can do to that object. That is the downside of a "one-off" cell; if you need this functionality a lot (as I do) you will want to download Sage or use it in an online instance other than the cell server. It's a great tool, it just can't read your mind :)

Alternately, if you already know what sort of object you want, some of them will work. Try x.[tab], for instance or graphs.[tab]; you just have to have something predefined. But often that will be enough, if you know what sort of object you are looking at and what it is called.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-01-20 16:00:06 +0100

Seen: 438 times

Last updated: Jan 20 '17