Framework Assistant request
BlitzMax Forums/BlitzMax Programming/Framework Assistant request
| ||
Could the author add a line counter, so I can see how many lines my complete source code is? |
| ||
In case it would help anyone (Jim Brown if he wants to add it, Leadwerks if he doesn't, and lurkers in any case), Yan/Papa Lazarou posted code for counting lines in this thread: http://www.blitzbasic.com/Community/posts.php?topic=59845#667593 |
| ||
Hi Josh, I'll add that in. What about remarks or blocks or Rem/End Rem code? Do you count that as part of the source code line count? |
| ||
Could you do both? One that counts lines of code only, missing out any comments and blank lines, and another that just counts everything. |
| ||
Framework Assistant updated. The HTML results will now display: * total number of lines in code (inc. remarks/blank lines) * total number of source code lines only |
| ||
Can I also make a suggestion - that Framework Assistant defaults it's BlitzMax Path on Windows to C:\Program Files\BlitzMax. 9/10 people use that path and the 1/10 that don't can change it. FA is great but this would round it off nicely! Cheers Seb |
| ||
You can use "." as root directory(replace in fa.ini) if you unzip FA to your BlitzMax directory, this is handy for porting it on portable disk drives. |
| ||
Seb, I'll see to that too. Good idea. Mac/Linux users: Whats the default installation folder (if any) for BlitzMax on either of these platforms? |
| ||
U should use something like SHGetSpecialFolderLocation() instead |
| ||
Awesome! Thanks. I managed to break the line counter with my main source code: Including remarks/blank lines: 176 Source code only: 179 The code is 300 kb, so I think it is more than 180 lines. |