首页 > 解决方案 > 输入时的VSC Autodocstring生成不起作用Python

问题描述

我安装了扩展:python 的 autodocstring 和在 ''' 之后生成 doc 字符串的片段,并且“enter”不起作用。

我重新启动了VSC,没有任何变化。

这是我的settings.json:

{
"python.pythonPath": "C:/Python/Python37-32",
"editor.hover.enabled": false,
"python.dataScience.sendSelectionToInteractiveWindow": true,
"autoDocstring.docstringFormat": "google",
"autoDocstring.generateDocstringOnEnter": true,

}

标签: pythonvisual-studio-code

解决方案


推荐阅读