In VSC, how can I activate "refactor preview" when renaming a module in Python?

Viewed 154

I wanted to rename a module in a Python project, however I would then need to update all the imports to match. The VSC Python extension has a clearly documented feature that should do this listed here: https://code.visualstudio.com/docs/python/editing#_rename-module, however when renaming the module by clicking on it and hitting F2, no such Refactor Preview tab appears. Extract Method and Extract Variable work normally. I'm having trouble finding a relevant setting to toggle and think I may be missing something obvious. I already updated VSC to 1.66 (March 2022 update) and the Python extension to v.2022.4.0 and am feeling thoroughly baffled.

1 Answers
Related