Ask Your Question

Concerning “tab completion” in SageMathCell

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

Karl gravatar image

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

I am a newcomer to Sage. The PREP Tutorials( 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

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

kcrisman gravatar image

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

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


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

Seen: 409 times

Last updated: Jan 20 '17