【发布时间】:2020-05-28 22:15:30
【问题描述】:
我目前已安装 VS Code 作为 Jupyterlab 的替代编辑器,用于 Python 数据科学开发。现在我想知道如何显示函数的文档字符串或签名?
我没有找到任何关于需要更改设置的快捷方式。
【问题讨论】:
标签: visual-studio-code jupyter-notebook vscode-settings docstring
我目前已安装 VS Code 作为 Jupyterlab 的替代编辑器,用于 Python 数据科学开发。现在我想知道如何显示函数的文档字符串或签名?
我没有找到任何关于需要更改设置的快捷方式。
【问题讨论】:
标签: visual-studio-code jupyter-notebook vscode-settings docstring
您可以在 settings.json 中更改这些设置:
// Controls if quick suggestions should show up while typing
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
Docstring example of the print function while typing in a vscode jupyter notebook
【讨论】: