Over here, at SUSE Studio, we integrated ACE editor into our scripts editing section, which allow you to edit boot, build scripts and AutoYaST configuration XML.
Here are some key features of ACE that are integrated into SUSE Studio:
Syntax highlighting: Provides syntax highlighting for Bash and XML scripts. This syntax highlighting is similar to IDEs and you should be familiar to it. This allows easy debugging and spotting of careless typos.
Highlighted lines: When navigating through the code with the cursor, the entire line will be highlighted for easy viewing.
Tab indentation: You can do tab indentation easily and naturally just by pressing Tab on your keyboard, without having to worry about losing focus of the textarea.
Ctrl-S Saving: Save your data as often as possible. Use keyboard shortcut to save, by pressing Ctrl-S.
Here is a quick visual comparison with/without ACE editor:
|Without ACE editor|
|With ACE editor|
See it in action
Here's how it works:
1. Create a new appliance or edit an existing appliance:
2. Navigating to Configuration - Scripts:
3. In this page, you will be able to edit build, boot scripts and the AutoYaST configuration XML, with the ACE editor. Enjoy!
As always, do let us know if you find any bugs or have any questions.
As ACE editor does not originally support Bash scripts, we forked the original source for ACE editor and included syntax highlighting for Bash. To benefit all, we submitted a pull request back to the original source and is pending approval.