IJava
IJava copied to clipboard
Syntax highlighting missing in some cells
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?
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.
See https://github.com/SpencerPark/IJava/issues/101#issuecomment-666037959