javascript - Ace Editor HTML Live Syntax checking -


i'm using ace editor, , i'm trying figure out how live syntax check html markup in editor.

if set javascript using:

  editor.getsession().setmode("ace/mode/javascript"); 

the live syntax checking (all little xs , on left side) works fine.

however, if change html using

editor.getsession().setmode("ace/mode/html"); 

i default editor code completion html, no live syntax check.

i know can done because on html version of kitchen sink (http://ace.c9.io/build/kitchen-sink.html), shows code syntax checking if don't use proper markup.

how do this?

update latest version , make sure worker-html.js file present.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -