简体   繁体   English

当我输入一个 function 时,vscode 中的哪些扩展使我能够看到 function 提示?

[英]what extension in vscode that enable me to see the function hints when i type one function?

I am currently using VScode editor for python, but I am not sure why I can not see the function hint when I type function's name.我目前正在为 python 使用 VScode 编辑器,但我不确定为什么我在输入函数名称时看不到 function 提示。

Anyone knows what extension can I install to solve this problem?任何人都知道我可以安装什么扩展来解决这个问题?

You can install the extension Pylance and in User Settings.json set您可以安装扩展Pylance并在User Settings.json设置

"python.languageServer": "Pylance",

which can provide awesome features like docstrings, auto-completion and so on.它可以提供很棒的功能,如文档字符串、自动完成等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM