我目前已经安装了 VS Code 作为 Jupyterlab 的替代编辑器,用于 Python 数据科学开发。现在我想知道如何显示函数的文档字符串或签名?
我没有发现任何有关需要更改设置的快捷方式的信息。
最佳答案
您可以在 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
关于visual-studio-code - 如何在 VS Code 中为 Jupyter Notebook 显示文档字符串或函数签名?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60203867/