Closed Suranchiyev closed 4 years ago
You should use the mode text/x-java
for codemirror (see the list of out-of-the-box-supported modes), especially Java, which links to clike which then lists the defined mimetypes in the bottom with text/x-java
listed for Java.
See https://github.com/codemirror/CodeMirror/issues/5285 for another reference of this.
I couldn't set up Java by using this library. Does it support Java?