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

Lack of Interest Code Tagging & Code Line Numbers

Discussion in 'Closed Suggestions' started by gmaister22, Feb 15, 2011.

  1. gmaister22

    gmaister22 Active Member

    One feature i would like to suggest, is the add of code colorized of most programming languages and not only PHP & HTML, (something like www.pastebin.com does) also a code line numbering system so you can easier refer to the line that you want to.

    I do think that by adding Syntax Highlighting and Line Numbering for each programming language, will make the code easier to read, and i think its something easy to be made!

    Something like that, this is a C++ code
    [​IMG]

    Hope i'll see the feature added soon!!
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. gmaister22

    gmaister22 Active Member

    Well it's not exactly the same since i suggested more than he did but anyway!

    Hope this feature will be added soon; it's very critical and necessary for many kind of forums...!
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Yes your suggestion also included syntax highlighting, but rather than split the discussion across two threads, it makes sense to keep it all in one place so feel free to add to that thread with your additional suggestion.
     
  5. gmaister22

    gmaister22 Active Member

    Nah it's ok, i was thinking it as one feature :)

    (Though let me know if i can manually add that, cause i really need it; i run a computing/programming forum and many members requested it :( )
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Hmmm, maybe I was confused by your initial suggestion.

    Did you mean in the ACP when editing templates or the code box inserted in posts?
     
  7. gmaister22

    gmaister22 Active Member

    No, not in the ACP, when you adding code box into posts, instead of only be able to get syntax for HTML and PHP to get something like:

    [​IMG]

    something like that (but just for major programming languages like C++/C, Visual Basic, Java, Pythong etc)
    the pic is from http://www.pastebin.com

    the code will be way way more readable and understandable !
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Ah, crossed wires there.

    I'll move it back to suggestions.
     
  9. gmaister22

    gmaister22 Active Member

    Alright:)

    Any ideas though if i can intergrate it myself? (highlighting and line counting)
     
  10. gmaister22

    gmaister22 Active Member

Share This Page