To allow students play around with code examples in programming courses.
Ace inline is a Moodle filter and you can enable it from the "Filters" page. You can find the link to "Filters" page in the "More" tab in your Moodle course. It is possible to add Ace inline programming windows almost everywhere in Moodle. The documentation and instructions for Ace inline: https://github.com/trampgeek/moodle-filter_ace_inline and https://coderunner.org.nz/mod/page/view.php?id=545
I used Ace inline tool to provide executable and editable code samples for students in Moodle lessons.
Lassi Korhonen