

Open you JavaScript or JSON source code file in Notepad++.Or if you want to put sorted JSON source code in a new file, click "JSON Sort (New file)". If you want to put sorted JSON source code in current file, click "JSON Sort".Open you JSON source code file in Notepad++.Select source code lines which you want to format.Or open menu: "Plugins" - "JSTool" then click "JSFormat".įormat selected code in a source code file:.Or if you want to put minimized source code in a new file, click "JSMin (New file)". If you want to put minimized source code in current file, click "JSMin".

Hovering through the menu options can be quite overwhelming since there are over 150 entries sorted throughout the ten different categories. With this installed you’ll see the TextFX menu pictured in the screenshot above. Open you JavaScript source code file in Notepad++. When going through the setup process Notepad++ by default will install some plugins, one of which is labeled as NPPTextFX.Voilà, every single blank lines has been deleted.Īlternatively, if you’re using 64-bit version of Notepad++, in which TextFX is not available, you can create a new file and cut the part you want to process it separately using Notepad++’s built-in features. Now if you want to eliminate empty lines in any part of the document, you need to select it, then select TextFX > TextFX Edit > Delete Blank Lines. You would see a new TextFX section in the menu bar. Notepad++ will restart itself to download and complete the installation. Once you see TextFX Characters plugin, you need to check the box in front of it and click Install. Download old version notepad++ in zip format. Type “textfx” in the search box and press Enter. To install TextFX, you need to open Notepad++ and select Plugins > Plugins Admin. TextFX is only available for 32-bit version of Notepad++ only.

Notepad++ default features above search and remove blank lines in the whole document.īut what if you want to remove empty lines in a small part of the file? Turns out, you need a plugin called TextFX to do that. To be able to remove these lines from the document as well, select Edit > Line Operations > Remove Empty Lines (Containing Blank Characters)

Sometimes, your document contains blank lines that does have a whitespace characters in it. Remove blank lines (whitespaces included) notepad textfx tools remove duplicate lines. Voilà, every single blank lines has been deleted. How To Install & Use Zen Coding In Notepad++, Faster HTML + CSS Coding. Once the document is loaded, select Edit > Line Operations > Remove Empty Lines. If you want to remove the blank lines in a document, except the ones that contain whitespace characters (spaces, separators), follow the instructions below.įirst you need to open the file with Notepad++. 3 Remove blank lines in selected text Remove blank lines (no whitespaces)
