vscode中python如何才能像在jupyter notebook中一样弹出函数使用说明,即docstring?
vscode是支持jupyter notebook的
在vscode中安装ms的python和pylance扩展,可提供docstings提示等,Pylance通过丰富的类型信息增强了Python IntelliSense体验,可帮助更快地编写更好的代码。Pylance还提供了快速、准确的自动完成和类型检查。参考: