Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8525

    A-D-T
    Participant

    hi!

    I’m missing the possiblity to layout code (espacially HTML) with one click. My problem is, I often get the old and horribly layouted files from my customers and just want to layout and indent these for better viewing.

    Prior to EmEditor I used PSPad and there was a function to layout at least HTML according to the DOM.

    <html><head><title>Test</title></head><body>test</body></html>

    becomes

    <html>
    <head>
    <title>Test</title>
    </head>
    <body>test</body>
    </html>

    HTMLTidy is capable of doing this but the result isn’t quite what I expected not to mention other programming languages aren’t supported.

    IMHO this “Layout and Indent”-feature would be a great addition to the outline plugin which already can identify various code levels.

    If not, I want to know how i can write a plugin for EmEditor to achieve this goal.

    #20571

    Scott Beeson
    Participant

    This is the biggest feature I’m missing. I thought surely I just couldn’t find it. I constantly have to open Visual Studio or WebSense to reformat old blocks of code!

    #20573

    Stefan
    Participant

    Hi there,

    PSPad just utilize Tidy.exe
     
    You can do the same with EmEditor. see e.g. https://www.emeditor.com/forums/topic/xml-without-line-breaks/
     
     
    Also you can g00gle for “Artistic Style”

     

    HTH?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Share with friends... Tweet about this on TwitterShare on FacebookShare on Google+Email this to someone