Forums : Suggestions for Ohloh 2.0

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Suggestion by sumpfralle

Hi,
the current code checking tool is mixing up clearsilver (http://clearsilver.net) templates and C# code. Both usually have the file extension .cs.
Examples are the ezmlm-web project and the cryptobox project. Both contain clearsilver templates, that are recogniced as C# code.

Maybe you could add a content check for ambiguous file extensions?

thanks,
Lars

sumpfralle over 17 years ago
 

hi Lars,

Could you provide some suggestions on how to distinguish them? Is there any specific keyword unique to clearsilver (or vice-versa)?

Jason Allen over 17 years ago
 

All ClearSilver templates I've seen so far (basically those being used by Trac) had <?cs ... ?> style tags in them. I'm not sure if that is a general-purpose option for distinction, though.

Bye, Mike

Michael Renzmann over 17 years ago
 

yes, all clearsilver templates contain <?cs ... ?>

(<?cs should be sufficient as a pattern, as the tags may span multiple lines)

It would be great, if you could scan for this pattern!

thanks,
Lars

sumpfralle over 17 years ago
 

ok - done.

sumprfalle, I now pronounce you the world's top clearsilver developer!

Jason Allen over 17 years ago
 

hehe - what an unexpected honor :)

thanks for your efforts!

sumpfralle over 17 years ago