AB-Tools.com

Forum Forum



Replies on the topic "Mulit language count"

Show product page of program "Universal Code Lines Counter"


Table of contents:
Mulit language count, Anders, 2009-10-03 17:38:27
Re: Mulit language count, Andreas Breitschopp (Webmaster), 2009-10-03 18:58:55
Re: Re: Mulit language count, Anders, 2009-10-04 23:01:52
Re: Re: Re: Mulit language count, Andreas Breitschopp (Webmaster), 2009-10-04 23:57:53


Mulit language count
Anders, 2009-10-03 17:38:27
I like the Code Line counter, specially the possibility to add new languages.

There is howver something I bitterly miss, or have missed seeing:

A software project can often consist of a mixture of languages, for example C and BAT or HTML, XML and PHP to mention a few.

Is there a way to scan a directory and let your tool look for all filetypes that it recognizes?
I would like to see the selection "ALL" in the drop down menu "Chose programming/script language".
ReplyGoto top


Re: Mulit language count
Andreas Breitschopp (Webmaster), 2009-10-03 18:58:55
Hello,

first thank you for your suggestion.

I see, but there is one problem when scanning for all programming languages at the same time:
it could be possible that the same file extension is used for more than one programming language. At the moment this is only the case for "Prolog" and "Perl" and you probably will say that these two languages will never be used together in one project, but there could be also other languages that might use the same file extension.

So the question is what the program should do in this case:
1. use the settings of all languages that matches the file extension or
2. choose only one language for a file extension.

In the first case this could lead to really unusable results and in the second case the next question would be which one to choose.

You see, it's not so easy, but a possible solution could be to give the user the possibility to choose more than one programming language for counting the lines. In this case the chosen languages have to use different file extensions, otherwise the user would get an error message.

If you have other ideas about that, please let me know.

I'll also think about it again for the next major update release of the Universal Code Lines Counter.

Best regards
Andreas
ReplyGoto top


Re: Re: Mulit language count
Anders, 2009-10-04 23:01:52
A simple solution could be to allow a multiselect menu where the user selects all the languages that shall be scanned in the project.

Perhaps also a report of all skipped filetypes could be useful. Then you would know if fyou missed something important.
ReplyGoto top


Re: Re: Re: Mulit language count
Andreas Breitschopp (Webmaster), 2009-10-04 23:57:53
Hello Anders,

yes, that's a good point:
I'll try to find a good solution for this with the next major release of Universal Code Lines Counter.

Best regards
Andreas
ReplyGoto top


Back to the threads

© Copyright 1999-2024 AB-Tools GmbH · AB-SoftCon.net

Deutsch English Español Français Polski