Description
If you have Pylance installed in your VSCode environment, you can quickly rename Python modules in your project and apply those changes across all instances of the module in your code. When you change the name of a Python module, Pylance identifies all instances of that module in your code and throws a pop up window that allows you to decide whether you want to apply the changes and refactor your code. If you are not sure about the changes, Pylance also allows you to preview all the changes before you apply them. Refer to the VScode documentation for more information.
Problem
Currently, if I rename a Python module in my project with Pylance version 2023.11.10, all instances of this module are not identified or changed. A similar issue has been reported here.
Proposed workaround
I resolved this issue by installing Pylance version 2023.10.10. To install a previous version of a VScode extension, I followed the steps documented here.