Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


How to show and hide line numbers in Notepad++

  • Please log in to reply
No replies to this topic

#1 TutorialBot


    Bleeping Teacher

  • Bots
  • 210 posts
  • Gender:Male
  • Local time:10:41 PM

Posted 10 May 2016 - 03:51 PM

A new tutorial titled How to show and hide line numbers in Notepad++ was added by Lawrence Abrams. Please use this topic to discuss any aspect of this tutorial.

A brief excerpt of the tutorial can be found here:

Notepad++ is a very popular Notepad replacement and source code editor that is very powerful and has a ton of features. Unfortunately, these features do come with a price as some of its basic preferences are hidden in the settings for the program. As I use Notepad++ a lot and take screenshots of code inside it, I sometimes disable the display of line numbers in the editor window.  Unfortunately, this means I usually forget how to enable them again. Due to this, I decided to write a quick little tutorial that can help others who wish to show, or hide, line numbers in Notepad++. To show or hide line numbers in the editor screen of Notepad++, open the program so that you are at the main screen as shown below. Notepad++ Window Now click on the Settings menu and select the Preferences... option.  You should now be at the General preferences screen as shown below. General Preferences Page On the left of the preference screen are different categories of settings that you can select. Click on the Editing category once so that it becomes highlighted.  You should now be at the Editing preferences screen as shown below. Editing Preferences Page To show line numbers in Notepad++, put a checkmark in the checkbox labeled Display line number, as indicated by the blue arrow.  If you wish to hide line numbers in Notepad++, remove the checkmark from this box instead. When ready, click on the Close button to save the changes. Depending on whether you checked or unchecked that box, Notepad++ will now display line numbers. As an example, I have put a checkmark in the Display Line number box, and as you can see below, Notepad++ now displays a number for each line of text. Notepad++ Showing Line Numbers  

We hope you find this tutorial helpful.

The Bleeping Computer Staff

BC AdBot (Login to Remove)


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users