![](/img/trans.png)
[英]VSCODE - PYTHON - Pandas DataFrame - Intellisense doesn't show Attributes/methods of the object
[英]VSCode Python Intellisense: Doesn't show methods of a imported python class
為什么 VSCode Intellisense 不顯示導入類的方法?
from tinydb import TinyDB
db = TinyDB('db.json')
db. # Here I dont have any methods of TinyDB object in suggestions list
我找到了解決這個問題的方法。 即使我的 PATH 中有正確的 git 路徑,VSCode 也需要在 settings.json 中使用值“git.path”。 如果您的路徑包含空格,請不要忘記 """。
settings.json 中的這個字符串對我有幫助: "git.path": """c:\\Program Files\\Git\\cmd"""
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.