In Developer Version 14.0.6.1988 (64 bit), in Single Document view renaming a variable via "Refactoring > Rename Item..." in package-specification tab doesn't affect any of the variable occurrence in the body tab.
In this specific case the variable to rename is not yet used in another package, because it was newly introduced. So, minimum expectation would be, that "Refactoring > Rename Item..." would work throughout the whole package. At best a renaming accross packages should be possible and working, too. To my experience this feature is mostly common for other IDEs and programming languages.
In this specific case the variable to rename is not yet used in another package, because it was newly introduced. So, minimum expectation would be, that "Refactoring > Rename Item..." would work throughout the whole package. At best a renaming accross packages should be possible and working, too. To my experience this feature is mostly common for other IDEs and programming languages.