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:
    jOOc, CyberAP, CarpCharacin and 4 others like this.
  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. Deceptive

    Deceptive 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

    Deceptive 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.
  9. CyberAP

    CyberAP Well-Known Member

    Hope this gets into XF 2. That would help so much to understand new template syntax.
  10. Martok

    Martok Well-Known Member

  11. CyberAP

    CyberAP Well-Known Member

  12. Martok

    Martok Well-Known Member

    Yes I noticed the timing of yours and Mike's posts. I assumed you had seen it as you commented in that thread but thought I'd mention it here for the benefit of others. :)
  13. Nerbert

    Nerbert Member

Share This Page