Board Thread:New Features/@comment-4079189-20150829183613/@comment-24473195-20150903134248

Kirkburn wrote:

Dessamator wrote:

There are also many functions that the code-editor has which are hidden from users, including ways to customize the editor, the theme, wrap or no wrap, and for example change it from a xml editor to js or lua or php editor on the fly without any hacks.

I'm guessing staff doesn't want it to be public knowledge or they'd add it to the help page, so I'll refrain from indicating exactly how those are done. It's based on the Ace editor, which does have a whole range of options - we just don't expose them. We'd have no issue with users using personal JS to tweak it to their liking. (Of course, if something is highly sought after, we'd be happy to consider making global tweaks.) Some of them are already exposed. The only issue is that they aren't saved when the user leaves the code-editor, for example, pressing  shows a window that allows easy "on the fly" customization of the editor. Changing the theme from there is quite easy, as well as disabling/enabling unwanted features.

They can easily be saved permanently using a userscript or a personal script, although I haven't really explored the API to see exactly how to keep these settings.

As stated previously, there are a lot of powerful shortcuts and macros that can be used. The old source editor simply pales in comparison to that feature set. Ultimately, the main reasons people complain about the code-editor is mostly wrapping, the theme,  some quirky mouse click, and the strange search bar behaviour.