Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Show all refactorings available
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mordachai
Tomato Guru

USA
224 Posts

Posted - May 04 2018 :  1:49:19 PM  Show Profile  Reply with Quote
Like a to-do window -

I'd like to see all of the available refactoring transforms available in a file - or have some way to apply a given type of refactoring sequentially as VA finds them.

e.g. I'd love to convert all of our for loops to range based fors - or most of them. But I see no way that I am aware of to just walk through our source files and apply that transformation.

Having that - or a to-do list with all of the found refactorings listed - where I could F4 to walk through them to look at each and apply it or not - could be great.

typedef -> using - is another I'd just machine apply all at once if I could.

Edited by - Mordachai on May 04 2018 1:50:04 PM

feline
Whole Tomato Software

United Kingdom
18721 Posts

Posted - May 04 2018 :  2:27:51 PM  Show Profile  Reply with Quote
If you are talking about the suggestions that appear when you enable Code Inspection, then simply show the window:

VAssistX -> Code Inspection (beta) -> VA Code Inspection Results

which will list all of the results for the current file. Only Code Inspections that you have enabled in the VA Options dialog are listed here. To apply a block, or even all of these in one go, just select the ones you want to apply in the results window, and right click and use "Apply Quick Fixes".

zen is the art of being at one with the two'ness
Go to Top of Page

Mordachai
Tomato Guru

USA
224 Posts

Posted - May 08 2018 :  10:28:37 AM  Show Profile  Reply with Quote
Awesome - that will work for me. <3
Go to Top of Page

Mordachai
Tomato Guru

USA
224 Posts

Posted - May 16 2018 :  4:13:29 PM  Show Profile  Reply with Quote
Having had a chance to play with this - although I like having the VA Code Inspection Results view - I really would love to be able to run such a "report" on my entire project(s) and get a full listing - similar to an Error List - or as it is in the VA Code Inspection Results - but across all files I "ran it" on - with F4 / Shift F4 walking through that list - just like find Symbol Results and Search in Files, etc.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18721 Posts

Posted - May 16 2018 :  5:16:26 PM  Show Profile  Reply with Quote
We are looking into allowing Code Inspection to scan the entire project

case=104537

which would then let you step through the results, at least from the results window.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000