Text / code editors?

Discussion in 'Coding Help' started by mneylon, Mar 18, 2006.

Tags:
  1. mneylon

    mneylon Administrator Staff Member

    I'm trying to find a text / code editor that can do matching tags ie. find the other half of a pair for me

    I know I had one ages ago, but I can't remember the name :(

    Any recommendations?
     
  2. louie

    louie New Member

    don't really follow you. can you explain?
     
  3. mneylon

    mneylon Administrator Staff Member

    Say you have a page that someone else wrote with loads and loads of divs. The problem is matching the opening div with the closing one.

    Does that make sense? (I know my original question was badly worded)
     
  4. louie

    louie New Member

    notepad can do that for you by using find next (F3).
     
  5. mneylon

    mneylon Administrator Staff Member

    Hmmmm.. That wouldn't really work though if you had nested divs, would it?
     
  6. louie

    louie New Member

    it should if you are looking for the next </div> after the opening one.
    notepad gives you the option of looking down or up the page.

    best coding practice is the separate the lines with tabs.
    MX8 has this future now where you can hide certain parts of your code blocks
     
  7. rsynnott

    rsynnott New Member

    If you can put up with a bit of a learning curve, EMACS is a great editor, and can do this sort of thing happily.
     
  8. ButtermilkJack

    ButtermilkJack New Member

    Unfortunately Notepad will only find the 'next' </div> so if you're starting at the 10th <div> down (out of 20 nested) and want to find it's closing tag, Notepad will only show you the closing tag for the 20th <div>.

    I know what your after but haven't come across one as yet. :confused:

    I'm just looking or any decent text editor in fact :D
     
  9. enzo

    enzo New Member

    HTML-Kit

    HTML-Kit (www.chami.com/html-kit/) can do that (either in the base program or one of the small extensions), as far as I know.

    Great editor, the only editor i've ever used. Big update coming soon.
     
  10. ButtermilkJack

    ButtermilkJack New Member

    Hey blacknight, I just downloaded Notepad++ and it has a very nice feature allowing you to expand and collapse each pair of tags. That should make it easier to find 'start' and 'end' tags.
     

Share This Page