Installation via CLI -
cordova plugin add cordova-plugin-ace
Else have a look at: https://github.com/microsoft/ace
Please let me know if you can get this working, with examples working on your device. Mine doesn't even want to build. Hoping I haven't messed up the config file or something. I can attach the project zip if you wish.
You're aware that this plugin is no longer supported by Microsoft... given the complexity of that plugin it may easily break with newer versions of the Cordova framework.
Add a third-party plugin your your XDK mobile project is described in this doc page > https://software.intel.com/en-us/xdk/docs/add-manage-project-plugins <
That plugin includes a "hook script" which is something that is NOT supported by PhoneGap Build > https://github.com/Microsoft/ace/blob/master/plugin.xml#L14 < meaning that you MUST build your app using Cordova CLI if you want to use this plugin.