Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autocomplete #79

Closed
lucasiscovici opened this issue May 26, 2018 · 3 comments
Closed

autocomplete #79

lucasiscovici opened this issue May 26, 2018 · 3 comments

Comments

@lucasiscovici
Copy link

Hello,
is there autocomplete (tab) in sos notebook for each language please?

BoPeng pushed a commit that referenced this issue May 26, 2018
@BoPeng
Copy link
Contributor

BoPeng commented May 26, 2018

The problem here is that when tab is pressed from the frontend, no information on the cell is passed to the SoS kernel so it does not know the language of the cell. I have just submitted a patch that complete text according to the "current kernel". That is to say, if you run %use R then work in a R cell, autocompletion would work fine. Otherwise the text would still be completed as SoS.

Let me see if a complete solution is possible.

@BoPeng
Copy link
Contributor

BoPeng commented May 26, 2018

I have to pass cell kernel information to the kernel with each cell switch, but it is nice to have auto-completion work. Please let me know if it works for you (clone the repo, run pip install . -U to install).

@lucasiscovici
Copy link
Author

Hello, it works !!!!!
It's really nice, you are the best.
I love this notebook !

@BoPeng BoPeng closed this as completed May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants