-
Notifications
You must be signed in to change notification settings - Fork 29
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
Scala syntax highlights in the ipython 3.1.0-cbccb68 #16
Comments
Thanks a lot. This proves my speculation, a patch is already on the way. It's interesting to see that ipython#6793 is also half done: when you first switch the kernel it uses kernelspec, if you open the notebook again it uses kernel_info |
I have a Mac, CMD-/ comments line correctly with "//" under ipython 3.0.0 |
Good! so theoretically I can fix both, give me a few days :) Thanks a On 04/30/2015 05:13 AM, rzykov wrote:
|
OK, it looks like the workload is more than I expected: The IPython server has an built-in adapter to convert messaging protocol v4 to v5. But its not very well rounded (some conversions are incomplete, like autocompletion and kernel_info_reply), so I either upgrade the entire protocol to v5, or tolerate the incomplete adapter. I'll gradually implement the new protocol and try to reach the author of IScala, see if I can backport the new protocol. Thanks a lot |
I've updated the messaging protocol to the latest version but seems like it doesn't help anything. Here is my post for the problem: http://python.6.x6.nabble.com/kernel-info-reply-is-ineffective-on-code-highlighting-td5095065.html Any help is appreciated. Also, the latest messaging protocol has been committed to IPython-3.x branch, so please be sure that you've checkout that branch before testing. |
OK, now I can confirm that the kernel/messaging is working properly. |
We found that scala syntax highlight works in ipython 3.0.0, but doesn't work in ipython 3.1.0-cbccb68
I think it caused by this commit in ipython ipython/ipython#6793
The text was updated successfully, but these errors were encountered: