Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Can you sort the codes while in collapsed mode?

2. Help
New Daddy
2014-02-09
2014-02-16
  • New Daddy
    New Daddy
    2014-02-09

    A lot of my XML codes contain macros that start with <macro name="****
    Collapsing my codes to Level 1 will show me just this first line of the macros.
    At this point, is there any way to sort these alphabetically? (i.e., sorting based on the first line of each macro)

     
  • cchris
    cchris
    2014-02-16

    Currently thre is no concept of line chunks which you may sort by some key.

    However, using sed or python script, you can prepend the key of the current tag to each line, then sort, then remove the extra keys you added prior.

    CChris