12 Answers, 1 is accepted
Thanks for the feedback. We discussed your idea to disable errors per project and we think that it is very meaningful. We have added it to our todo list.
Best wishes,
Jordan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
We have this feature implemented for quite awhile. You can go to the JustCode Options dialog and in the Code Analysis section there's a set of filter fields for items to be excluded from the analysis. You can specify files, extension wildcards, and projects in these fields. I'll quote the documentation here, so that I don't miss something:
"In the Exclude file filters and Exclude project filters input fields you can specify files and projects that should not be analyzed from JustCode. That's really useful for designer generated files. Once you have excluded a file or a project, no errors or warnings will be reported. By default .designer.cs and .designer.vb are excluded. Provide a list of file/project names separated by semicolon (;)."
Hope that helps.
All the best,
Kaloyan
the Telerik team
JustCode currently doesn't support wildcards or regex in the Exclude File Filter field. For the time being you can only write "telerik." and the engine will exclude all files, containing that string in their names.
The wildcard feature is in our todo list, though, and will increase it's priority after your call. So stay in touch for updates on the topic.
Best wishes,
Kaloyan
the Telerik team
David
Since its first release for this year (2011.1.315.3) JustCode supports per-solution settings for Code Style. These are located in the JustCode options dialog Options Sharing page. Once enabled, Options Sharing generates a settings file in the folder of your solution - <yoursolution>.jcsettings.xml, which contains the Code Style settings for your current solution. These per-solution settings have priority over the general JustCode settings. You can read more about that here. Hope that makes things clearer for you.
Greetings,
Kaloyan
the Telerik team
I have _many_ projects that I want to exclude, and it seems clunky to keep adding them to the Code Analysis, Exclude project filters field.
Thanks
Sorry for the delay. We've been planning on some improvements on the analysis project filtering functionality of JustCode and we're considering per-solution settings of that feature as well. Stay tuned for updates on the matter.
Regards,
Kaloyan
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
I have an idea to improve this functionality. Allow for the creation of a Preprocessor Directive that just code would locate in each file.
Thus you could have #JustCode Ignor Rule A; Rule C;
Each rule that would be ignored would be separated by a delimiter like a semicolon.
The rule names could be available in the existing settings dialog by hovering over the rule in the settings dialog.
You could even go so far as to allow them to reapply a rule further down the file.
#JustCode Apply Rule A; Rule C;
This would give developers even more flexibility.
We have discussed similar feature, but we haven't planned its implementation so far.
We have some more prioritized tasks for this Q so we could reconsider the idea in of the next Qs.
Thanks.
Zdravko
the Telerik team