Closed gruberrolandvaltech closed 4 years ago
The used lib is ACE: https://github.com/ajaxorg/ace https://ace.c9.io/
lang-tools is in /etc/clientlibs/groovyconsole/js/ext-language_tools.js
Idea: send auto-completion prefix (e.g. "aecu.contentUpgradeBuilder().for") to AEM via Ajax to get list of possible completions. AEM then checks via reflection which functions could be called.
The Groovy Console already uses a JS library for syntax highlighting. This also supports code completion. We should use it for our aecu binding.