Software Software of the Day
T_nology  

Software of the Day #2: Notepad++

Notepad++ is a great replacement for Notepad for those who want to use something as lightweight as Notepad with more features.

Syntax Highlighting

An image showing the Language tab with the Python programming language selected, with sample Python code having syntax highlighting in the background.

Notepad++ offers syntax highlighting for most popular languages. You can change the syntax highlighting simply by going to Language > [First letter of the programming language] > [Name of the programming language].

Encoding

The Encoding tab of Notepad++, showing a list of encodings such as ANSI, UTF-8, UTF-8-BOM, UTF-16 BE BOM, and UTF-16 LE BOM, with UTF-8 being selected.

You can set the file’s encoding through Notepad++ by going to Encoding > [Encoding you want].

Special Characters

An image showing the ESC character being inserted from the ASCII Codes Insertion Panel.

If you want to insert a special character, you can go to Edit > Character Panel and use the Character Panel to insert a character.

Generating Hashes

A window with the title "Generate SHA-256 digest," showing the text "Hello, world!" being generated into a hash.

To generate hashes, go to Tools > [MD5 or SHA-256] > Generate....

View Settings

The settings under the View tab in Notepad++.

In the View tab, you can choose to keep the window always on top, toggle fullscreen mode (also with F11), use Post-It mode (which removes the top bar and keeps the window on top, also activated with F12), use Distraction-Free Mode (which makes the window fullscreen and centers the text, toggle word wrap, and do other things.

Theming

The Theme Configurator menu of Notepad++, with the selected theme of "DarkModeDefault," a dark background color, a mostly light foreground color, and a font name of Consolas.

You can set the theme through the Style Configurator, found in the Settings tab. If none of the themes exactly suit you, you are able to tweak certain colors and settings to your liking.

Macros

The Macro tab of Notepad++, with the cursor highlighting over "Start Recording."

You can use the Macro tab to record and play back a macro.

Find/Replace/Search Through Files

The Find in Files menu of Notepad++, finding the string "Tnology" with no underscore and replacing it with "T_nology"  with an underscore. The filter is *.* to wildcard all file names and all file extensions, and it finds the files in the user T_nology's desktop folder named "where is it."

You can open the find menu with Ctrl + F, or through Search > Find. You can choose to find, find + replace (through the Replace tab), and find a string through a series of files (which can be super useful).

Replace Notepad with Notepad++

The Registry Editor, showing the Debugger value of notepad.exe being set to the Notepad++ executable.

You might think that Notepad++ is so good, you want to replace Notepad with Notepad++. Well, you can actually do this in a way that even opening regular Notepad will open Notepad++.

To do this, you first need to open the Registry Editor. If you don’t know how to do this, all you need to do is press Win + R and open regedit.exe, clicking yes to the UAC prompt.

WARNING: In case you are not already aware, modifying the Windows Registry can have unintended side effects. Please be sure you absolutely know what you are doing if you modify the registry, as just one wrong registry tweak can mess up your system. Proceed with caution.

In the registry editor, go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe. Then, create a String value called Debugger with the value of "<location of your Notepad++ executable>" -notepadStyleCmdline -z. For example, it may be "C:\Program Files (x86)\Notepad++\notepad++.exe" -notepadStyleCmdline -z. Now, whenever you open Notepad on your PC, it will open Notepad++ instead.

Conclusion

This basic list of features only scratches the tip of the iceberg for what Notepad++ offers. If you are interested in Notepad++, you can download it here: https://notepad-plus-plus.org/downloads/

Thanks for reading!

Leave A Comment