Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Notepad's method of checking for errors

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the method of checking errors in notepad, which has a certain reference value, and interested friends can refer to it. I hope you will gain a lot after reading this article.

How does notepad check for errors?

Jslint is the work of Douglas, used to check javascript for grammatical errors or to give good coding advice.

Now I use notepad++ to write / view some fragmented js code, so one day I suddenly thought of whether there is a plug-in for jslint and searched the Internet. Sure enough, it is included below for reference.

The installation steps are as follows:

First download the plug-in here and extract it to any directory.

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

And then, and then nothing, and then...

Well, you can see that the installation process is very simple, and of course how to use it is also very easy:

Open a js file at will, and then select plug-in > JSLint > > JSLint Current File.

The window for JSLint has appeared below the main window, and you can see the errors and warnings given by jslint for this js code. In other words, there are a lot of mistakes in this file. ~ embarrassing rz ~ directly too many errors).

Plugin > > JSLint > > option includes some options that can be configured according to your own needs. The good parts is an option recommended by Daoshen, while assume indicates that when reviewing the code, it is assumed that the js code is running in the environment in which the code is running. Generally, you can choose the first two options.

Thank you for reading this article carefully. I hope the article "methods of checking errors in notepad" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report