mikankari / processing-lang

3 stars 0 forks source link

Error selecting mode language #1

Open Honneamise opened 6 years ago

Honneamise commented 6 years ago

Hello, im using this extension and i have noticed on the debug console the following error :

"CodeMirror mode "text/x-java" is already used by language Java - cannot fully register language Processing using the same mode. Some features will treat all content with this mode as language Java."

i think it refers to file "main.js" line 96 : "mode": ["clike", "text/x-java"],

im using the following brackets version :

Release 1.11 build di rilascio 1.11.0-17524 (release 86b5e2d4e) build timestamp: Wed Sep 20 2017 11:49:15 GMT+0100

Thanks in advance.

mikankari commented 6 years ago

Thanks for using this extension!

CodeMirror mode works as a syntax highlighting. As in the following message, there is no big problem.

Some features will treat all content with this mode as language Java.

However, this extension should uses new mode for Processing properly, and i think creating new mode.