Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Why the internal JSP files have such a poor code formatting?

Avatar

Level 7

For example, the blocks are not separated by new lines and sometimes there are empty scriptlets in them:

<%@ page import="blah blah" %> <% %><%

I have a feeling the JSP has been converted from code initially written in another way or maybe some code is automatically appended to them, but the formatting is very poor anyway.

It would be great if you could improve the formatting in the upcoming versions.

1 Reply

Avatar

Level 7

CQ 5.6.0 used to have a built-in code formatter in CRXDE Lite. http://alivecycle.wordpress.com/2013/08/21/crxde-lite-code-formatting/

Seems Adobe removed it in AEM 6.0.0 (and possibly 5.6.1). Adobe - why was this removed? Can we re-enable it?

EDIT: It seems that this feature is still alive and working.