Community
Participate
Working Groups
Build Identifier: 20100917-0705 Very often we face a scenario where we declare and use variables inside a block such as a try block. We then later realise that oh! I need to close this/these variable(s) in the finally block. We then have to copy and place only the declaration of these variables above the try. Then we can use these variables in the finally block to close it. It would be great if we had a refactoring tool to say move the variable declaration above by one block or two blocks or a number of blocks that we specify. Reproducible: Always Steps to Reproduce: This is an enhancement
Note that you can use the trick from bug 218622 comment 4. *** This bug has been marked as a duplicate of bug 218622 ***