T O P I C R E V I E W |
Mordachai |
Posted - May 04 2018 : 1:49:19 PM 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. |
4 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - May 16 2018 : 5:16:26 PM 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. |
Mordachai |
Posted - May 16 2018 : 4:13:29 PM 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. |
Mordachai |
Posted - May 08 2018 : 10:28:37 AM Awesome - that will work for me. <3 |
feline |
Posted - May 04 2018 : 2:27:51 PM 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". |