Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to check the right or wrong code in vscode

Shulou Source: shulou.com Published: 2022-06-02 17:44:02 10月04日 Update

This article mainly introduces how to check the right and wrong code in vscode. It is very detailed and has a certain reference value. Friends who are interested must read it!

Install the Pylint plug-in

Pylint is a library that checks for PEP 8 specification violations and common errors. It integrates well with several popular editors and IDE and can also be run from the command line.

Open a command prompt window and go to the C:\ Python34\ Scripts\ directory

Execute the pip install pylint command to install Pylint, then wait for the installation to complete.

Prompt for successful installation

Then open vscode to open the user settings file.

Add configuration "python.linting.pylintEnabled": true

The above is all the contents of the article "how to check the right or wrong code in vscode". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Check commands code right or wrong content articles tips success value interests guys buddies common prompts plug-ins files more users directories knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Docker Huawei Apple MySQL