CODE GENERATION and WASTED SPACE

[ATTACH=CONFIG]n73035[/ATTACH]NetMake is a master in wasting screen space, drive space etc. Whenever I open the generated code I end up with 2 or 3 times more lines than the code itself. That is because there are tons of empty lines generated. While this might be helpful in certain sections to separate chunks of code in this case it is terrible because it adds miles of scrolling. If one looks at any given generated file it has from 5 thousand lines to tens of thousands. Simple App like edit form has the code generated in every other line. WHY ? what is the purpose of making user scroll and scroll and scroll in order to view the code. This really needs to be changed. Although it does not add a lot to the file size it does add some kb and most of all creates humongous scrolls.

Please fix this issue and review the code generator to create more effective files. Generator should also create more notes and remarks in the code as they are almost not existent.

SC_CodeWastedSpace_ISSUE.jpg

Arthur, have you tried another editor?. We don’t have this ‘problem’.

Thanks Albert - so what editor you use ?
I use NOTEPAD++ which is the most popular I guess

Art

The line separator is good for me as it make it easier to troubleshoot. If there is any problem, i just go directly to the line number scriptcase told me. I also use notepad++. Press (ctrl+G) which will ask you the line number.

peter0912 - you do not understand my point. When I open the code and search for line number it brings me around that line (which I can tolerate) but when I need to scroll up and down to look for something it takes forever to scroll. SC files are already huge enough and some simple forms have 1000+ lines so unless you going to specific line nr IT IS A PAIN TO WORK WITH THIS CODE

I will try PSPAD this week will see if this helps…

Nothing to discuss here.
It takes forever to scroll because the files are often big.
The end user shouldn’t go through the generated code, unless he wants to debug it, and, if everything was close together it would make debugging way harder.

Its DEFINITELY not a bug, so i’m closing this.
If you want to discuss the use of break lines in the generated code, do it in the general section.

Thank you.