IJava icon indicating copy to clipboard operation
IJava copied to clipboard

Syntax highlighting missing in some cells

Open sandeepchin opened this issue 5 years ago • 2 comments

syntaxissue Hello,

I installed java kernel successfully. However, the syntax highlighting only works in the first cell. After that all the code appears monochrome. Please see the attached screenshot. What can I do to change this?

sandeepchin avatar Aug 30 '19 21:08 sandeepchin

Hi @sandeepchin, I believe this bug is upstream in jupyter-notebook or similar. I run into this from time to time as well but can't seem to pin down a way to reliably reproduce it. See also #46 which mentions the same issue.

If you change the notebook kernel to something else and change it back to java, it re-highlights the cells. Not that this is a reliable fix, just some additional information if you endeavor to try and track this bug down.

SpencerPark avatar Sep 25 '19 02:09 SpencerPark

See https://github.com/SpencerPark/IJava/issues/101#issuecomment-666037959

kyagrd avatar Jul 30 '20 02:07 kyagrd