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

Anyway to accept multiple suggestions?

10 Answers 66 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.
Chris May
Top achievements
Rank 1
Chris May asked on 03 Aug 2012, 08:40 PM
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.

10 Answers, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 07 Aug 2012, 11:49 AM
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.

0
Michael
Top achievements
Rank 1
answered on 03 Sep 2012, 12:51 AM
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.
0
Stuart Hemming
Top achievements
Rank 2
answered on 03 Sep 2012, 09:49 AM
+1
0
Zdravko
Telerik team
answered on 05 Sep 2012, 09:25 AM
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.

0
Joel
Top achievements
Rank 1
answered on 18 Sep 2013, 03:50 PM
+1
0
Michael
Top achievements
Rank 1
answered on 19 Sep 2013, 01:38 AM
100% agreed.
0
TMatt
Top achievements
Rank 2
answered on 13 Nov 2014, 07:27 AM
Any news on this?
0
Svetlozar
Telerik team
answered on 14 Nov 2014, 03:07 PM
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.

 
0
Jan
Top achievements
Rank 1
answered on 01 Sep 2015, 05:27 AM
Any news to this?
0
Nikolay Valchev
Telerik team
answered on 03 Sep 2015, 12:16 PM
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
Tags
Code Analysis
Asked by
Chris May
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Michael
Top achievements
Rank 1
Stuart Hemming
Top achievements
Rank 2
Joel
Top achievements
Rank 1
TMatt
Top achievements
Rank 2
Svetlozar
Telerik team
Jan
Top achievements
Rank 1
Nikolay Valchev
Telerik team
Share this question
or