Hi Bjoern
Yes, the feature exist, but it is not very helpful. I want to know which variables are not used and I would like to click a button the program should search for variables that are not in use in the application. I don't want to click(Shift F2) on all my variables, that is insane. Maybe you have the time to clean your project up by pressing the combination of keys on every single variable, but I can asure you I don't have.
As for the second comment of yours. "Shake your head". Well what can I say. When I program I create variables as I try to create a solution. During the process I may realize that there should be a better way of solving the problem, I then use some of the previously created variables, but it is possible that I don't use all of them. The other scenario is that I might copy a piece of code to another process and change the code, but then obviously I don't use all the variables again. So, as you can see there are many reasons why there could be variables that are redundant.
Regards
Marius