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

Factorise code in tooltip for julia monkeypatching #4293

Merged
merged 1 commit into from Oct 17, 2013

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Sep 27, 2013

Should allow IJulia to just set Tooltip.last_token_re to another regexp, in their profile
or even Tooltip.prototype.extract_oir_token if they want their full custom
logic to extract the token they want the info of in js.

Otherwise, right now they send their own version of tooltip.js

@Carreau
Copy link
Member Author

Carreau commented Oct 6, 2013

feedback someone ?

@minrk
Copy link
Member

minrk commented Oct 6, 2013

I think this makes sense, but it points to a general shortcoming of the message spec as Python-specific. The Kernel should generally be allowed to do lexing, so that we don't have to make language-agnostic decisions in the frontend.

@Carreau
Copy link
Member Author

Carreau commented Oct 6, 2013

That was one of the reason I was proposing the merge of object_info_request and complete request also.

@minrk
Copy link
Member

minrk commented Oct 6, 2013

They do have that in common, but that mainly means they should have some keys and behaviors in common, not that they should actually be merged into one message type.

@Carreau
Copy link
Member Author

Carreau commented Oct 6, 2013

Should we put that into the Hackpad ?

@Carreau
Copy link
Member Author

Carreau commented Oct 17, 2013

I'll merge this as is, and issue a later PR that will deactivate tooltip on tab by default as discussed on todays meeting.

Carreau added a commit that referenced this pull request Oct 17, 2013
Factorise code in tooltip for julia monkeypatching
@Carreau Carreau merged commit b311424 into ipython:master Oct 17, 2013
@Carreau Carreau deleted the tooltip-mkp branch October 17, 2013 19:42
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Factorise code in tooltip for julia monkeypatching
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

Successfully merging this pull request may close these issues.

None yet

2 participants