mattpap / IScala

Scala backend for IPython
MIT License
322 stars 50 forks source link

Syntax highlighting #18

Open kamilkloch opened 9 years ago

kamilkloch commented 9 years ago

Currently IScala notebook highlights python code. It would be nice to have scala syntax highlighting instead :)

mattpap commented 9 years ago

This will be possible in IPython 3(-dev) (no support yet). As for (currently stable) 2.x series, some hacks are possible, but as far as I can tell, there is no official support for custom syntax highlighting.

mathieu1 commented 9 years ago

Just a comment to confirm that Scala syntax highlighting works out of the box in IPython 3 (although it can be a bit glitchy) using IScala. Check out this issue for hints as for how to set up an IScala kernel for IP3.

@mattpap shall I add something in the doc to help setting up a kernel for IPython 3, or do you want to wait until a stable release?