How to get the Java mode running?

I added the demo snippets for a Java editor and also added mode: “text/x-java” as option. It should be working now but I don’t get any highlighting. Can you please tell me which js-file I have to include to get my java editor working.

Are you loading mode/clike/clike.js?

1 Like

Refer this Link : [Click](C/C++/Java Text editor in codemirror in react js)