Forum Forum

New reply on

Re: Mulit language count
Andreas Breitschopp, 2009-10-03 18:58:55

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

Newsletter I would like to be informed about news.

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

Deutsch English Español Français Polski