Bulk Add const is missing in 2021.3.3
Hi,
I have seen that "Add const" fix should be available for bulk fix on the whole file:
RSCPP-20247 Bulk fix for "Local variable/parameter may be const"
But in 2021.3.3, I just have the individual fix. I am missing something? Is it because it's a C++/CLI file?
Best regards,
Pierre-Yann
Please sign in to leave a comment.
Hello,
Does this mean you don't have this submenu with the bulk fix? If so, please send us the code snippet where this happens so that we can reproduce the issue.
Yes, the whole menu is missing. But it is for the inspection "Parameter can be made const".
For the four parameters of the below method, I have the hint, but I need to apply it one by one.
Looks like we didn't add a bulk fix for "Parameter can be made const" specifically, only for local variables. Filed https://youtrack.jetbrains.com/issue/RSCPP-32796 to track this.
Thanks