A Beginners Guide to Notepad++

Updated on April 29, 2016

Notepad++ Is A Beginner Friendly Code Editor

When you start learning to program you will need somewhere to write your code. If you want to get all of the bells and whistles from the very start then you might like to look at popular 'Integrated Development Environment' (IDE) software such as Eclipse. But IDEs can take time to learn, and if you are just starting out as a programmer then you have enough to learn already without having to navigate your way around a complex new piece of software before you can even begin. Also, large IDEs like Eclipse can sometimes use a lot of computing power to run, so if you don't have a high spec machine to run it on then you may experience some performance issues.

If you want a beginner friendly way to start programming, which is easy to pick up and will have all of the features that a beginner needs, then a simpler 'code editor' may be just the thing for you. A good quality code editor like Notepad++, which is the most popular product for Windows and is my own preferred software, comes with a wide range of useful features and can be extended using plugins.

Even though Notepad++ is less complex that a full blown IDE, there are still a few things you should learn about before you start writing code. This article will guide you through all of the main features and settings, giving you enough information to make the most of what Notepad++ can offer.

What is most important to you when choosing a code editor?

See results

How To Install Notepad++

Installing your code editor shouldn't be any harder than installing any piece of software! Software products aimed at developers often have many different versions available to download, without any easily accessible information about how to choose which version to use. This is fine for seasoned developers who know exactly what they want and understand all the technical terms, but when you are just starting out it can be a headache.

With Notepad++ it is easy. Just visit the downloads page and click the first text link to use the 'installer', which will help you by picking out the correct version for you and installing it on your computer with a simple 'wizard' program. The process is the same as it is for any software - in Windows I just click to download then click double-click from my downloads list. Its as simple as that!

Initial Settings

When you open up Notepad++ for the first time it is a good idea to customize the settings. Just click the settings button from the navigation bar at the top, then click 'preferences'. If you have the time then it would be beneficial for you to read through all of the options to get a feel for what you can do, but there are three particular things which you should consider changing right away:

  1. Default Directory: This is the folder on on your computer which the code editor will use as a default location for saving and opening files. Keeping your files organised is very important for a programmer.
  2. Auto-Completion: Auto-complete works in the same way as it does on Google or on your phone, but its set up to recognize the syntax of programming languages. Some people find auto-complete very helpful and it can prevent you from frustrating errors caused by typos, forgetting to close brackets and so on. But just like with phones, some people don't like it. you can toggle it on and off easily from preferences.
  3. Default Language: Under the 'New Document' tab in preferences you will see a drop-down box for choosing a default language. If you are going to be coding in the same language all of the time then it is well worth setting this up to match the language you are using.

In addition to the preferences explained above, it is always a nice idea to head over to the 'style configurator', also located under the setting button, which lets you personalize the appearance of Notepad++ by selecting from a range of different themes.

Choosing A Default Language

Keyboard Shortcuts

Notepad++ lets you access most of its handy features using keyboard shortcuts (using your keyboard to access functions instead of using the menus, like hitting control and s to save, which is a commonly used keyboard shortcut). These are not only great for saving time, they can also help you out when you are stuck. You can see the shortcuts keys next to each item in the navigation lists. Check out some basic ones to begin with by clicking the 'Edit' button from the navigation and scrolling down to the third section of the list.

Here are a couple of examples of how you can use keyboard shortcuts:

  • Comment out a block of code by highlighting it and clicking ctrl + Q
  • Autocomplete functions - if you can't remember the name of the function you need, want a reminder of what functions are available, or are just too plain lazy to type, then you can click ctrl + space to insert functions from a list.

Please note that to use these the software has to know what language you are writing in. If you have set up a default language then you don't need to worry, but otherwise you will have to select a language (click 'languages' from the navigation bar) to enable these features.

Browsing Shortcuts

A Beginners Guide to Notepad++ Plugins

Plugins allow you to quickly and easily add new functionality to your Notepad++ program. If you click 'Plugins' and then 'Plugin Manager' from the navigation bar you will see that there is a wide range of free plugins available for you to install. Adding a plugin is as easy as ticking a box and then clicking install - the program will need to restart to finish adding the plugin, but of course it will offer to do that for you.

If the list is too long for you to want spend the time reading the descriptions which are provided for each plugin to find something useful then don't worry - I have a couple of suggestions. My first suggestion is to install AutoSave. You can set it up to automatically save your document according to whatever time schedule you prefer; the default setting is once per minute. This can be useful for anyone, regardless of which language you use. My second tip is to scroll down to the first letter of the language you are learning. For example, if you are learning Python then scrolling down to the letter P will bring up at least three plugins for Python programmers. You won't find every plugin that could be relevant to your language like this, but it's a good place to start. For my example of Python code, PyNPP is a good tool which lets you run your code from Notepad++ rather than having to go over to the GUI or shell to run it, and Python Indent is great for helping you with formatting.

Search and Replace Features

Like any good code editor Notepad++ offers you a range of features to finding things in your code, and for bulk editing.

  • Find brings up a dialogue box which lets you find every instance of a word and perform actions on it. You can access the replace function listed below from here, count the number of times a word occurs, or mark each line where a word is found for your own reference. You can also use 'find next' or 'find previous' by highlighting a word and then using the keyboard shortcut to skip the next time, or the previous time, that this word appeared in your code.
  • Replace allows you to quickly replace every occurrence of a word through a document, which is handy if you need to change the name of a variable, for example.
  • Incremental Search takes you to the first occurrence of a word, and from there you can skip forwards to the next occurrence with an arrow button.

Don't Repeat Yourself - Unless Using Macros

OK, so I know that most beginners opening up Notepad++ for the first time and looking about at the various features will be wondering what the hell 'Macros' are and what those play and record buttons are doing in a text editor.

Macros are a very handy tool that can automate boring repetitive tasks.

The golden rule of programming is DRY - don't repeat yourself - but macros are the one exception to this rule! If you find yourself writing the same piece of code over and over again you should generally create a function which you can call to run that code for you. This saves you time and hassle and makes your code less bulky and more readable. But sometimes there are things that you can't avoid repeating and which you can't create a function for - this is where macros come in. You can use them to very literally 'repeat yourself' by recording yourself performing a task once, and then playing it back to repeat that action wherever and whenever you want! Once you record a macro you can save it and even assign it to a shortcut.

A good example of where using Macros can save you a lot of time and tediousness is shown in the video below, which walks you through each step of the process.

This article is accurate and true to the best of the author’s knowledge. Content is for informational or entertainment purposes only and does not substitute for personal counsel or professional advice in business, financial, legal, or technical matters.


    0 of 8192 characters used
    Post Comment
    • profile image


      9 months ago

      backslash is coming diffrent way can u solve it

    • profile image


      22 months ago


    • profile image


      2 years ago

      i can't see the plugin manager

    • profile image

      Imran Danlami 

      2 years ago

      I can't see the plugin Manager.

      please help.

    • profile image


      3 years ago

      good post

    • profile image


      3 years ago

      Thank you. This was very helpful.

    • Roxanne Dimacale profile image

      Roxanne Dimacale 

      3 years ago

      Hi Myung, my partner worked with a fillable a form at this site https://goo.gl/2Nmpnj.

    • profile image

      Myung Yale 

      3 years ago

      Thoughtful post - I was enlightened by the facts ! Does someone know if I could possibly locate a template a form copy to fill in ?

    • profile image


      4 years ago

      im just a little confused i used a program in college called visual studio where you simply hit f5 and it runs your program.

      Here i can write a program in notepad quite easily but how do i run it?

      Am i missing something here? Ins't the main purpose of writing code to run it?

    • profile image

      john smith 

      4 years ago

      very good article thanks I learnt heaps can't wait to go to give it a go thanks again.

    • profile image


      4 years ago

      Congrats on your Hub of the Day award for this tutorial!

    • UnnamedHarald profile image

      David Hunt 

      4 years ago from Cedar Rapids, Iowa

      Yes, Dean, congratulations on Hub of the Day. NotePad++ is a great, free editor with so much power and yet you can use it without a lot of training as you say. I've used it for years. One of my favorite plugins is the one that lets you compare two files. Also, for text files, I was pleasantly surprised to find out you can select and remove columns (by using the alt key). Anyway, great to see a technical hub make HOTD. Just goes to show that even two-year-old hubs can be chosen. Well done.

    • Kristen Howe profile image

      Kristen Howe 

      4 years ago from Northeast Ohio

      Congrats on HOTD, Dean! This was an interesting hub.

    • Sunshine625 profile image

      Linda Bilyeu 

      4 years ago from Orlando, FL

      Reading Codes for Dummies! Excellent article for me! :)

    • FlourishAnyway profile image


      4 years ago from USA

      Dean, Congratulations on HOTD!

    • littlething profile image

      John Jack George 

      5 years ago from United States

      Great hub! I've been looking for a good code editor for a while now. I tried Codeblocks, but I when I tried a simple program in C++, it kept jamming. Two months of trying to figure it out, before almost giving up on learning how to program. I'll have to give Notepad++ A try! Thanks so much!

    • electronician profile imageAUTHOR

      Dean Walsh 

      5 years ago from Birmingham, England

      Thanks for the suggestions, I haven't tried that one myself.

    • profile image


      5 years ago

      Codelobster works better for me: http://www.codelobster.com

    • electronician profile imageAUTHOR

      Dean Walsh 

      6 years ago from Birmingham, England

      Thanks Sudarshan, I'll try to do that.

    • profile image


      6 years ago


      Your post is very helpful and I request you to please post more on Notepad++ features.


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, turbofuture.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://maven.io/company/pages/privacy

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)