Anyway to accept multiple suggestions?

11 posts, 0 answers
  1. Chris May
    Chris May avatar
    31 posts
    Member since:
    Nov 2009

    Posted 03 Aug 2012 Link to this post

    As I am looking at some code, there is often times when every parameter in a method needs to be renamed to match the right naming convention.  This shows up with JC underlining all of the parameters, with suggestions like Name does not match naming convention.  Suggested name 'asdf'.

    Right now, I am going through each one by one.  Is there any way to just select a block of code, or select multiple warnings in the JustCode Errors window and say "Accept All Suggestions" or something like that?  I don't think there is, but it would save me a lot of time if there was some way to do this.
  2. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 07 Aug 2012 Link to this post

    Hello Chris, 

    Thanks for contacting us.
    Unfortunately, we do not have such a functionality so far, but we have plans to improve this in the future.
    I could suggest you a few ways as a solution.
    • To fix them manually like you are doing it at them moment.
    • To change the naming convention with the existing one from JustCode's menu -> Options-> Code Style -> C# -> Naming Conventions.
    • To ignore the warnings if they are too annoying and you do not want to change them.
    Thanks and please stay tuned.

    Kind regards,
    Zdravko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Michael
    Michael avatar
    19 posts
    Member since:
    Oct 2011

    Posted 02 Sep 2012 Link to this post

    As much as I love this (and most Telerik) tools, I'm disappointed and maybe even so much as annoyed that this "feature" doesn't exist. If someone is going to implement "naming conventions", by definition they will rarely, if ever choose NOT to do so in their code as that is contrary to the definition of the word "convention". Enabling the bit of Code Analysis by default and then not providing an efficient way to make changes makes this feel like it's thrown in as an afterthought. It might as well be turned off by default if it's only going to do half the job. This is especially true in a case in-sensitive language like VB.Net where the utility doesn't have to worry about the implications of changing the name in one place on another.

    I really hope to see "Fix All Selected" or "Fix All" added very soon. Knowing how little work would be required (at least for the case in-sensitive languages) and how significant the change could be, the argument for this seems substantial.
  5. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 03 Sep 2012 Link to this post

    +1
  6. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 05 Sep 2012 Link to this post

    Hi all,

     I am afraid that we will not be able to implement this functionality in the current Q.

    Also, I forgot to mention that you can disable showing this kind of warnings from JustCode menu -> Options -> Code Analysis -> Warnings -> desired language (e.g C#) and there choose "Do Not Show" for the  "Naming conventions inconsistency" option.
    Thanks.

    Regards,
    Zdravko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. Joel
    Joel avatar
    1 posts
    Member since:
    Aug 2013

    Posted 18 Sep 2013 Link to this post

    +1
  8. Michael
    Michael avatar
    19 posts
    Member since:
    Oct 2011

    Posted 18 Sep 2013 Link to this post

    100% agreed.
  9. TMatt
    TMatt avatar
    46 posts
    Member since:
    Feb 2011

    Posted 13 Nov 2014 Link to this post

    Any news on this?
  10. Svetlozar
    Admin
    Svetlozar avatar
    271 posts

    Posted 14 Nov 2014 Link to this post

    Hi,

    We are currently working on a new version of JustCode for Visual Studio 2015 that will be based on Roslyn. You can read the announcement here

    The Roslyn quick fixes support context, so you will be able to "fix all occurrences" in the Document, Project or Solution. 

    If you have other questions, please don't hesitate to write back!

    Regards,
    Svetlozar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  11. Jan
    Jan avatar
    18 posts
    Member since:
    Mar 2014

    Posted 01 Sep 2015 in reply to Svetlozar Link to this post

    Any news to this?
  12. Nikolay Valchev
    Admin
    Nikolay Valchev avatar
    72 posts

    Posted 03 Sep 2015 Link to this post

    Hello,

    Unfortunately, there is nothing new to add here. Currently, our main purpose is to align JustCode for Visual Studio 2015 to JustCode for the previous versions of VS. There are still feature missing but required by our clients, so this one is considered with a lower priority right now, but we haven't forgot about it.

    Excuse us for any caused inconvenience!

    Regards,
    Nikolay Valchev
    Telerik
    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
Back to Top
DevCraft banner