admin avatar

Artifact, use EmEditor to quickly clear excess white space in your code

🕞 by admin





About EmEditor, excerpted from the introduction on the website

EmEditor is a Windows text editor that is fast, lightweight, extensible, and easy to use. Native 64-bit and 32-bit versions are available, and 64-bit includes separate builds for SSE2 (128-bit), avx-2 (256-bit), and avx-512 (512-bit) instruction sets. Ed Burnette of ZDnet.com calls EmEditor "the fastest text editor in the world." (see article) Japanese websites 窓 の du (Mado - no - mori) evaluation, "don't need to Excel. The strongest CSV editor. (see translation)

Riccardo Tani, a network defense manager, recommends EmEditor for digital forensics and event response (DFIR) and log analysis. The EmEditor supports macros, Unicode, and big data and CSV files. Emurasoft is committed to listening to and meeting the needs of our customers. We provide timely customer service and hope to better serve our customers by constantly updating our technology. Our clients include: large and medium enterprises, educational institutions, eu organizations, Banks, and national government departments.

EmEditor's official website https://zh-cn.emeditor.com/#features

Obsessive-compulsive, the most annoying thing is seeing lots of white space in the code

However, if the code is too, you can't delete the space line by line

Here's the artifact, using the EmEditor to quickly clear excess white space from the code

Open the EmEditor, as shown below, and press CTRL+H to bring up the replacement window. Choose to use regular expressions...

Space regular code

^[\s\t]*\n

And try... The effect is very obvious, very crisp ~~~~

Really is the artifact ~~~~ for small white is such ~





💘 相关文章





写一条评论

Based on Golang + fastHTTP + sdb | go1.18.1 Processed in 1ms