This is a migrated thread and some comments may be shown as answers.

Add suggested renames for all appropriate naming conventions

1 Answer 38 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nick
Top achievements
Rank 1
Nick asked on 11 Oct 2012, 02:01 PM
I have two conventions set up for public methods, PascalCase which we use for most things and Pascal_Underscore which we use for unit test names.

If a method name fails to meet either of these conventions a warning is produced but only a PascalCase rename is suggested.

Would it be possible to offer a second suggestion based on the secondary rule of Pascal_Underscore?

Alternatively, would it be possible to define different naming conventions on a per project basis?  I want to ensure all unit tests use the Pascal_Underscore convention for example.

Cheers,
Nick

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 16 Oct 2012, 07:31 AM
Hi,

 Thanks for contacting us.
We suggest as a fix only the first rule so far. But you can achieve this by writing your own extension for JustCode. We have some nice examples which you can follow to implement a new one. 
You can also post a feature request at our new JusCode Feedback portal (if they are not already there) and vote for them.
The most popular and important requests will be targeted for implementation.
Regarding the naming conventions per project, I regret to say that you can make different naming convention per solution for now, but not per project.
Thanks.

Please, do not hesitate to contact us if you have any further questions or need of assistance.

All the best,
Zdravko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Code Analysis
Asked by
Nick
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or