I use ace-builds to build my ace editor application using webpack.
I need to use a custom working to check the syntax. The wiki page here offers an extension of the employee named mirror
, obtained as follows.
var Mirror = require("ace/worker/mirror").Mirror;
But ace-builds doesn't seem to provide this worker. How to create a custom syntax checker using ace-builds?
Any other advice on how to create an application for the Aces editor using special syntax that confirms the work (for a custom programming language) is welcome. (I can't use the ace library that should be used with require.js, since it uses require.toUrl
, which the web package does not know about. See github issue )
source share