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
[Notebook] Deactivate tooltip on tab by default. #4398
Conversation
Yep, they will hate us, jeje... but I think, at the end, is a good solution. |
i missed where this came from, but it makes me 😦 to not be able to just tab to get the tool tip. I am still able to sometimes trigger the tooltip by pressing tab a bunch of times. The completions I get with this branch don't make sense, either (why should cell magics pop-up first as arguments to a function call?) |
@ivanov this came from the last meeting... there was a discussion about this and the general agreement was to separate completion from the tool tip... Btw, when I tested, I did not see the tooltip... even pressing the tab a bunch of times.... But, testing again, now I see the "cell magics" completion... I did not see it before because I was completing over a letter that did not match any cell magic... |
The rationale (on a muti language env) is that to be able to decide whether to use I personally was for the first solution of asking the kernel, but in some case there is no way to decide what the user wish.
Will try but I don't understand why...
This is how completion behave in all frontend, not notebook specific :
|
thanks @Carreau - i understand better now why this needs to happen. I suppose it's a little too much work to just weaponize Tab and let the kernels dictate the behavior that key should implement ... |
I am +1 on cleaning up the code. |
Codepath is **not** removed by this.
As per @ellisonbg request, logic cleaned. Rebased on master also. |
Excuse me, but how do I get the tooltip back in the notebook? Tab does not work anymore (move focus to next cell), shift+tab moves focus to previous cell. |
Can you try to force refresh see if this is not stale cache ? Will retry this branch more extensive though. |
@Carreau no luck -- it's been a few days. Same problem in latest Firefox, Chrome, Opera, IE11. |
with this branch or on master? |
ah sorry, master. Can you reproduce this problem? |
does the JS console says anything ? |
|
Ok found the reason. something that comms broke. |
Ok, thanks for your help! I let you take it from here :) |
Anything else here? |
I don't see anything else to |
[Notebook] Deactivate tooltip on tab by default.
[Notebook] Deactivate tooltip on tab by default.
Codepath is not removed by this.
Should I cleanup the codepath also ?
Still need to search in documentation if/where we say that tooltip is triggered by tab.
(also people will hate us for some time)