Rename symbol also rename in docstrings #2938
Replies: 2 comments 3 replies
-
Moving this issue to discussion as an enhancement request for comments and upvotes. |
Beta Was this translation helpful? Give feedback.
-
Once we complete our new Python docstring parser, we might be able to build on that to support this. However, since Python docstrings do not have an official method for referencing other Python symbols within the docstring, it will be, at best, optional and based on heuristics for us to determine how to match text in a Python docstring to an actual symbol. for example, if doc string refers |
Beta Was this translation helpful? Give feedback.
-
Would love for VSCode's "rename symbol (F2)" to also rename in Python docstrings. Would make refactoring much easier!
Beta Was this translation helpful? Give feedback.
All reactions