Automatic Literal Argument Replacement

2 posts, 0 answers
  1. Geoff
    Geoff avatar
    1 posts
    Member since:
    Feb 2015

    Posted 25 Oct Link to this post

    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?

  2. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 28 Oct Link to this post

    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
  3. DevCraft banner
Back to Top