Comments (6)
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
May I ask an off-topic question? The comment shortcut "ctrl-/" seems to use python's "#" instead of codemirror's "//" on scala kernel, does #6793 also fix the comment shortcut problem?
from ispark.
I have a Mac, CMD-/ comments line correctly with "//" under ipython 3.0.0
from ispark.
Good! so theoretically I can fix both, give me a few days :) Thanks a
lot buddy
On 04/30/2015 05:13 AM, rzykov wrote:
I have a Mac, CMD-/ comments line correctly with "//" under ipython 3.0.0
—
Reply to this email directly or view it on GitHub
#16 (comment).
from ispark.
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
from ispark.
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.
from ispark.
OK, now I can confirm that the kernel/messaging is working properly.
The problem is caused by notebook codemirror javascript which always returns /codemirror/mode/clike/clike.js
The problem has been reported in IBM spark-kernel before: https://github.com/ibm-et/spark-kernel/issues/109
Now I just need to find the frontend solution.
@rzykov: since you have observed syntax highlighting on IPython 3.0 I think your codemirror javascripts are already fixed. Could you help me test the latest build again or tell me how to override clike.js being used for Scala?
from ispark.
Related Issues (20)
- Unrecognized option error HOT 9
- Illegal character in path in ISpark jar file HOT 18
- IPython3 error:'interp' is not a recognized option HOT 8
- ClassNotFoundException with class, defined in notebook HOT 3
- Autocomplete is not working HOT 6
- Shift + Tab operation not works in IPython 3.x HOT 5
- Printing variable value in notebook when I set value to a variable HOT 5
- Task not serializable error with HashingTF HOT 7
- Compare and contrast to spark-notebook and Zeppelin HOT 2
- No such method error
- Can't compile against 2.11 & 1.4.0 HOT 2
- Can not Completer in spark1.4.0
- port to jupyter-scala
- Kernel restart issue HOT 3
- Question about macro in JsonImpl
- Java Issue when run ipython HOT 5
- problem with private[spark] functions? HOT 7
- Updgrade to Spark 1.3.0 HOT 10
- Support running on yarn cluster HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ispark.