跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[程序员] 为啥 vscode 写 Python 的时候无法显示第三方库的函数文档?

发表于
尝试了一下在 Python 里面写 OpenCV 程序,发现鼠标悬停在函数上的时候函数提示只包含函数的结构,如下图所示:

GXKJcCq.png

但是在 C++ 里写的时候鼠标悬停会显示如下这种格式的文档: https://docs.opencv.org/4.x/d7/dfc/group__highgui.html#ga5628525ad33f52eab17feebcfba38bd7

我又仔细观察了一下其他函数,发现 Python 内置的函数是可以显示出我想要的效果的:

4AfaBNv.png


安装了的拓展:Pylance 、Python 、Python Debugger 。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.