Home > Development Tools > VSCode > How to check the correctness of the code in vscode

How to check the correctness of the code in vscode

王林
Release: 2020-02-13 14:23:18
Original
9709 people have browsed it

How to check the correctness of the code in vscode

Install Pylint plugin

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

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

How to check the correctness of the code in vscode

Execute the pip install pylint command Install Pylint and wait for the installation to complete.

How to check the correctness of the code in vscode

Successful installation prompt

How to check the correctness of the code in vscode

Open vscode to open the user settings file.

How to check the correctness of the code in vscode

Add configuration"python.linting.pylintEnabled":true,

How to check the correctness of the code in vscode

##Related recommendations :

vscode tutorial

The above is the detailed content of How to check the correctness of the code in vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template