VS Code settings

VS Code settings

Complemented with only OpenCV or some libraries? A memo when I changed the setting and managed to do something because something like that did not work

VS Code version 1.47.3 Windows10

I was in trouble

Entering cv2. Does nothing after. I want you to come up with a candidate or something useful like an explanation when you enter it

What i did

Added to VS Code configuration file Add the path where the Python library you are using is included Originally it was empty

"python.autoComplete.extraPaths": [
    "~\\Lib\\site-packages"
]

Pylance is good! I heard from someone and used it, but it didn't seem to work there.

"python.languageServer": "Pylance"

To

"python.languageServer": "Microsoft"

change to

In the first place, I changed to Pylance and did not notice what changed, so I will accept it for the time being (I don't know if it was originally Microsoft ...)

Reference (almost as it is)

https://qiita.com/kusanoiskuzuno/items/fc6a32ef32dd9500f746

Recommended Posts

VS Code settings
Python with VS Code (Windows 10)
VS Code settings for developing in Python with completion
Set VS Code to PyCharm.
Debug Python with VS Code
Try Fortran with VS Code up to debug settings. [Win10]
Settings to debug the contents of the library with VS Code
VS Code snippets for data analysts
[Note] VS Code cv2 intellisense error
Resolve VS Code unresolved import error
Try running Jupyter with VS Code
Install VS Code on your Chromebook
Migrate from VS Code to PyCharm
[VS Code] ~ Tips when using python ~
Install python with mac vs code
Debug settings in virtual environment when using Pipenv with VS Code
samba settings
(For myself) Put Flask in VS Code
Pass PYTHONPATH in 1 minute with VS Code
Display Japanese graphs with VS Code + matplotlib
Character code
Bad code
VS Code Pylint is annoying with import! !! !! !!
VIM settings
VS Code + Azure Functions + Python environment construction procedure
I tried Flask with Remote-Containers of VS Code
Python (Windows 10) Virtual Environment / Package with VS Code
Debug with VS Code using boost python numpy
The story of trying Sourcetrail × macOS × VS Code
Use Python in Anaconda environment with VS Code
Settings for Python coding in Visual Studio Code
Use Docker development container conveniently with VS Code
[VS Code] Python language Server no longer starts
[Visual Studio Code] [Python] Tasks.json + problemMatcher settings for Python
Make your Python environment "easy" with VS Code
Build a python execution environment with VS Code
Set up TinyGo development environment for VS Code