-
-
Notifications
You must be signed in to change notification settings - Fork 19
VS Code
ヘンタイちゃん edited this page Nov 10, 2020
·
2 revisions
If you're using VS Code like me on Windows 10 and code completion and the doc strings preview on hover doesn't work by default, follow along this troubleshooting guide:
- Make sure you ran
pip install hentai
with the right minor version of python. You can check that your python and pip version match by comparingpip --version
andpython --version
. In case of doubt use
PS C:\Users> # specify version (either 3.7, 3.8 or 3.9 are fine)
PS C:\Users> py -3.7 -m pip install hentai
PS C:\Users> # get lib location
PS C:\Users> py -3.7 -m pip show hentai
- In VS Code, open your
settings.json
and add the following line:
"python.autoComplete.extraPaths": [
"paste lib location from step 1 here",
]
- Close and re-open VS Code again for the changes to take effect