If you are looking at a file in Notepad++ and want to hide certain lines in the file, you can make use of Hide Lines option,
Example: Hide Lines in Notepad++
- Select the lines that you want to hide on a tab,
- Now either press Alt + H or go to Menu: View and select Hide Lines
- Will will see that the lines you selected are now hidden.
Line 1
Line 2
Line 3
Line 4
Line 5
After:
Line 1
Line 5

Hide Lines in Notepad++
To unhide or view the hidden lines again, just expand the section by clicking on the green triangles in the gutter section.
More Posts related to NotepadPlusPlus,
- [Solution] Notepad++ Compare option unavailable
- How to delete all text after a character or string in Notepad++
- Notepad++ hex editor Examples
- Add Custom header and footer to Windows Notepad file
- Unable to edit file in Notepad++
- Locate Notepad++ unsaved files backup location
- Add Text at Start and End of Each Line Notepad++
- [Tutorial] How to Customize Notepad++ Toolbar
- How to hide lines in Notepad++
- How to close all tabs of Notepad++?
- Notepad++ Save Failed - Please check if this file is opened in another program.
- How to connect to an FTP or SFTP location using Notepad++
- How to add or remove bookmark on a line in Notepad++
- Enabling Notepad++ Dark Theme
- Notepad++ Reload - This file has been modified by another program. Do you want to reload it?
- Prettify JSON in Notepad++
- Portable Notepad++ for windows
- Alternatives for Notepad++ on Mac in 2021
- Indent XML Formatting In Notepad++
- Go to Line Number option in Windows Notepad
- Word count in Notepad++
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar
- [Nopepad++] How to add text at end of each line
- How to open a new tab in Notepad++
- How to open Notepad?
More Posts:
- Microsoft Teams meeting Full Screen mode option missing - bring it back - Teams
- [fix] docker: Cannot connect to the Docker daemon at unix:var/run/docker.sock. Is the docker daemon running? - Docker
- java.lang.ClassNotFoundException android.support.v7.widget.Toolbar [Fix] - Android
- SharePoint excel error - A problem occurred while connecting to the server. If the problem continues, contact your administrator. - SharePoint
- AlertDialog with image using ImageView Example - Android
- Java 8 Leap year check using Year class from java.time api - Java
- Fetch More then 10 Links Per Page in Google Search Result - Google
- M365 service Europe outage - AADSTS90033 A transient error has occurred. Please try again. - Microsoft