1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Template editor with syntax highlighting (e.g. Code Mirror, Ace Editor etc.)

Discussion in 'XenForo Suggestions' started by Malcolm M, Jul 19, 2016.

  1. Malcolm M

    Malcolm M Active Member

    Hello, I have a suggestion that I think would benefit many site owners & developers when using the code. At the moment the code is a basic colour of black. I think it would be better if it could be colour coded so it's easier on the eyes and easier to find stuff etc.

    What it is now:[​IMG]
    What I'm aiming at:
  2. Amaury

    Amaury Well-Known Member

    That would make it easy to find errors. I was having my co-admin, @mike406, helping me not too long ago with something I just could not figure out on the new style in regard to something appearing goofy. Turns out I forgot the closing </div>.
  3. Malcolm M

    Malcolm M Active Member

    Yeah exactly, it can be pain finding simple errors like that, I would also like line numbers too.
  4. Demon

    Demon Active Member

    I came across an add-on awhile ago that does what you want.
  5. Malcolm M

    Malcolm M Active Member

    What's it called?

    And I think it would be great if it were an official feature
  6. TRGCommunity

    TRGCommunity Active Member

    Demon likes this.
  7. Malcolm M

    Malcolm M Active Member

    Last edited: Jul 21, 2016
    TRGCommunity likes this.
  8. otto

    otto Well-Known Member

    And it gives als "XF Merge" that let you see 2 template editors side by side...

    But both addons are unmaintained and will lost with XF 2.0 I think.
    Malcolm M likes this.

Share This Page