Home > Development Tools > notepad > How to check errors in notepad

How to check errors in notepad

藏色散人
Release: 2019-11-15 09:15:02
Original
9590 people have browsed it

How to check errors in notepad

How to check errors in notepad?

jslint is the work of Douglas, used to check javascript syntax errors or give good coding suggestions.

Now I mostly use notepad to write/check some scattered js codes, so one day I suddenly thought about whether there is a jslint plug-in. I searched online and found that there is indeed one. It is included as follows for reference.

Recommendation: "notepad usage tutorial"

The installation steps are as follows:

First download the plug-in here and unzip it to Any directory.

Then select the decompressed JSLintNpp.dll file in Settings>>Import>>Import plug-in.

How to check errors in notepad

Then, and then nothing more...

Okay, you can see that the installation process is very simple, and of course the usage method is also very simple:

Open a js file at will, and then select Plugins>>JSLint>>JSLint Current File.

How to check errors in notepad

The JSLint window has appeared below the main window. At this time, you can see the errors and warnings given by jslint for this js code. (By the way, this file has a lot of errors~囧rz~It’s just too many errors).

How to check errors in notepad

##Plug-in>>JSLint>>option includes some options that can be configured according to your own needs. The good parts is the option suggested by Master Dao. Assume means assuming the running environment of the js code when checking the code. Generally, you can choose the first two items.

How to check errors in notepad

The above is the detailed content of How to check errors in notepad. 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