Ask Your Question

tab completion observation

asked 2018-03-11 01:16:51 +0200

danielvolinski gravatar image

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.


edit retag flag offensive close merge delete


Hmm, typically this should happen, so if it doesn't perhaps that is something about the Windows alternative. Does the same thing happen in every browser?

kcrisman gravatar imagekcrisman ( 2018-03-11 03:00:01 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-11 09:47:31 +0200

eric_g gravatar image

This feature will be present in the next release of SageMath (8.2) (it is already present in SageMath 8.2.beta6). With SageMath 8.1, it's true that you cannot click on one of the listed completions, but you can select it using your keyboard, scrolling in the list with the up and down arrow keys, and then hitting the 'return' key.

edit flag offensive delete link more



Sort of works now in 8.1: I have to use the keyboard to scroll up and down the list, but in order to see which completion I am on, I have to bring the mouse which then highlights the completion in blue, then I press return and get the completion in the cell

I'll wait for SageMath (8.2)

danielvolinski gravatar imagedanielvolinski ( 2018-03-11 10:36:21 +0200 )edit

Interesting, I guess I never tried clicking, or maybe Jupyter is sufficiently different from sagenb. Nice.

kcrisman gravatar imagekcrisman ( 2018-03-14 03:35:22 +0200 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2018-03-11 01:16:51 +0200

Seen: 1,116 times

Last updated: Mar 11 '18