By default, Notepad++ saves the characters such as tabs, line end CRLF, and blank spaces as hidden.
For example, if you copied code from UNIX machines, you will get some format and indentation issues.
The solution is to find the hidden characters and remove those characters.
This tutorial shows you how to view hidden characters in Notepad++ It displays the following characters
- Common Control characters such as CR, LF, and CRLF
- Tab
- Blank space
- End of line
- Letter background such as STX, SOH
How to view hidden characters in Notepad++
- Open the text or code file in a Notepad++
- Go to
View
Menu > SelectShow Symbol
> SelectShow All Characters
. - It displays all hidden characters in the opened file.
Also, there are other options to the Show Symbol
menu item.
- Show White spaces and TAB
- Show the End of Line
- Show Indent Guide
- Show Wrap Symbol
How to remove or hide CRLF characters in Notepad
- Open the text or code file in a Notepad++
- Go to
View
Menu > SelectShow Symbol
> UncheckShow End of line
. - It removes and hides all characters such as CRLF in the opened file.
- Uncheck
Show All Characters
to remove all characters such as tab and CRLF