I'm using VS Code on Macbook. I have Python, Python for VSCode, Python Extension Pack and Python Extended packs installed on VSCode. Right now my code is totally runnable. I'm 100% it works perfectly fine. However, VSCode still falsely gives me so many unnecessary underlines.
In the first picture, it thinks my indentations are wrong; in the second one, it underlines cv2 and numpy, because it doesn't know the existence of these libraries. Seeing the editor like this is just annoying. Any ways to make these underlines disappear?
- Image for Indentation underlined:
- Image for Imported libraries underlined: