IScala icon indicating copy to clipboard operation
IScala copied to clipboard

Syntax highlighting

Open kamilkloch opened this issue 10 years ago • 2 comments

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

kamilkloch avatar Oct 29 '14 11:10 kamilkloch

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.

mattpap avatar Oct 29 '14 11:10 mattpap

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?

mathieu1 avatar Dec 28 '14 17:12 mathieu1