- AuthorPosts
- May 25, 2010 at 10:11 am #8525A-D-TParticipant
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.
January 13, 2016 at 9:27 am #20571Scott BeesonParticipantThis 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!
January 13, 2016 at 9:57 am #20573StefanParticipantHi 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?
- AuthorPosts
- You must be logged in to reply to this topic.