Ask Your Question
0

tab completion observation

asked 2018-03-10 18:16:51 -0500

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.

Daniel

edit retag flag offensive close merge delete

Comments

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-10 20:00:01 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2018-03-11 03:47:31 -0500

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

Comments

Thanks!

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 04:36:21 -0500 )edit

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

kcrisman gravatar imagekcrisman ( 2018-03-13 21:35:22 -0500 )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

Stats

Asked: 2018-03-10 18:16:51 -0500

Seen: 64 times

Last updated: Mar 11