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

Automatic Literal Argument Replacement

1 Answer 45 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.
Geoff
Top achievements
Rank 2
Geoff asked on 25 Oct 2016, 10:45 PM

Hello,

We have just installed JustCode, and have noticed a lot of warning messages for using named arguments. Is there a way to configure JustCode to automatically use named arguments when cleaning the code?

1 Answer, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 28 Oct 2016, 02:43 PM
Hello,

Currently - you can't. However I wouldn't recommend that as we haven't implemented filters (like string.Format, Console.WriteLine, etc.. ) yet, so using named arguments everywhere might be quite excessive.

If the warnings cause you too much distraction I suggest you disable the analyzer from JustCode Options | Code Analysis | Problems | C# | 'The used literal argument is not named'. 

Let me know if you have any questions. 

Regards,
Svetlozar
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Code Analysis
Asked by
Geoff
Top achievements
Rank 2
Answers by
Svetlozar
Telerik team
Share this question
or