Sorry if this is the wrong project to request this feature. GitHub is currently using MagicPython to highlight Python code. And MagicPython assigns distinct scopes to docstrings (there is a .docstring ...
Microsoft has released Visual Studio Code 1.95. It brings plenty of updates related to Copilot, multiple GitHub accounts support, and gives the ability to generate Python Docstring templates.