notepad 5.png

Notepad++ is definitely one of the best text editors for Windows, and pretty soon it will be getting even better. The new Notepad++ 5.0 is currently in Beta, and it includes a feature I’ve been waiting a long time for: auto-completion! As you can see in the screenshot above I was writing a bit of HTML, and as I started to close the “center” tag it offered to auto-complete it for me. Simply pressing the Tab or Enter key would have inserted the current recommendation.

This feature is disabled by default, but a quick trip to the Preferences will get you using the new auto-complete feature in no time at all. Go to Settings -> Preferences, and switch to the Backup/Auto-competion tab. At the bottom of that screen you’ll see where you can enable auto-completion, and you can optionally turn on the “show function parameters” feature as well. What’s that do? Here’s an example of me using a PHP function, and you’ll notice that it gives me a friendly reminder of the parameters the function takes:

notepad autocomplete function.png

From a coder’s point of view this text editor just got taken to a whole new level. Let us know in the comments if you’re as excited as I am to see this feature.

Get Notepad++ 5.0 [via Ghacks]

There Are 48 Comments

  1. Ryan, you have no idea how excited I am! I use Notepad++ day in and day out. I have waited for this for a long time and so happy it is finally making its way in. I am definitely downloading it tonight. Thanks for the heads up.

  2. Quote: As you can see in the screenshot above I was writing a bit of HTML…

    Heh heh. You sure picked a good example for a demonstration of html. Ever hear of css? ;)

  3. That’s an awesome new feature! I used Visual Studio 5.0 or something in school for C# and that program has this feature. But that program is like a $300 piece of software, and it’s awesome to see the same feature come to N++!

  4. That’s already in 4.9.2, and possibly earlier.

  5. Peter: yeah, there has been some auto-complete stuff in a NPP plugin for quite a while now, so I don’t see what this news is really about?

    *Unless* NPP has been extended to parse several languages and auto-pickup things like function arguments, instead of requiring manual word- and parameter-lists.

  6. Hehe. Autocompletition is an old feature of Notepad++, since version 2.x! Not from the version 5.0. Kind of too hidden, but it’s been there for a long time.

  7. Yes, the autocompletion of functions was there already, but it did not show their parameters.

  8. K-IntheHouse wrote:
    Ryan, you have no idea how excited I am! I use Notepad++ day in and day out. I have waited for this for a long time and so happy it is finally making its way in. I am definitely downloading it tonight. Thanks for the heads up.

    It is a great feature, and I’m sure you’ll be making good use of it!

    Pete wrote:
    Quote: As you can see in the screenshot above I was writing a bit of HTML…

    Heh heh. You sure picked a good example for a demonstration of html. Ever hear of css? ;)

    I was just trying to keep it simple.

    f0dder wrote:
    Peter: yeah, there has been some auto-complete stuff in a NPP plugin for quite a while now, so I don’t see what this news is really about?

    *Unless* NPP has been extended to parse several languages and auto-pickup things like function arguments, instead of requiring manual word- and parameter-lists.

    Notepad++ has this out-of-the-box now. It came with the word lists for both HTML and PHP which I tested, so there was nothing manual that you had to do.

    Radu Capan wrote:
    Hehe. Autocompletition is an old feature of Notepad++, since version 2.x! Not from the version 5.0. Kind of too hidden, but it’s been there for a long time.

    Looks like I’m not the only one who didn’t know this was there then because there are surely some excited people in the comments here. ;)

  9. They’re definitely on the right way, but I still miss the way Dreamweaver is doing it. In Dreamweaver the code completion is much more polished and enables me to code even faster. I hope they will improve the auto-complete to match Dreamweaver’s :)

  10. Change wrote:
    They’re definitely on the right way, but I still miss the way Dreamweaver is doing it. In Dreamweaver the code completion is much more polished and enables me to code even faster. I hope they will improve the auto-complete to match Dreamweaver’s :)

    I agree that Dreamweaver’s is better, but this is definitely a good start. I have a feeling they won’t be adding a lot of polish to it though since it is supposed to be an advanced text editor.

  11. Isn’t auto-completion something that could/should belong in an advanced text editor if it makes you code much faster (by hand)?

  12. This is awesome! I have been using Dreamweaver mainly because I was able to see the parameters of functions in PHP. This will help take me one step close to cleansing myself of paid software and trying to go with all open source. Thanks for the post!

  13. I’ve been wanting this for ages – its the one thing I’ve ever missed about coding in Visual Basic from all those years ago. When I saw that screen shot I practically wet myself.

  14. Inferno_str1ke wrote:
    I’ve been wanting this for ages – its the one thing I’ve ever missed about coding in Visual Basic from all those years ago. When I saw that screen shot I practically wet myself.

    It must be pretty important to you then. ;)

  15. 5.0 is out now. its fukin lethal

  16. i have this feature enabled in npp, however, i am finding the quality of the assistance a bit rubbish! i would expect it to: (when language set to html)
    as i type “<” to begin to list all the options and norrow them down until i can use the arrow keys
    and then when i hit space to add an attribute, to automatically show all the options. It doesn’t!
    I would also like it to recommend html tags even if the language is set to php, as you always seem to need to add in some html into a php file!

    have i got the settings wrong or is the function a bit overrated?

    • I agree, or a mixed ‘web’ languages collection (html/javascript/css/php) as these are usually used in conjunction.

  17. Code completion for .ASP files works fine. Notepad++ knows about the built in ASP objects like Response, Server ….
    However, how can I teach Notepad++ to also recognize other objects like my own COM objects or VB script functions or VB script classes?

    Is there a way to configure Notepad++ ?

    Thank you very much.
    :o)

  18. i hope they’d make a function for automatic validation for html.

  19. Anonymous wrote:
    i hope they’d make a function for automatic validation for html.

    Now that would be a great idea! Perhaps you should send in a feature request.

  20. Oh. My. God.

    I’ve been using Notepad++ for months and never knew it had this feature. Let alone built in. I feel stupid now. Thanks though :)

  21. Hi,

    i have set this options, but it doesn’t work. What do I have to do?

  22. Hey Guys.

    Seems like npp’s autocompletion is not exactly specific.
    It’l just a long list that’ being sorted automatically.

    Does anyone now how to get specific auto completion for specific function.

    For example when I type

    width:

    - I expect to see only auto complete options related to “width” and not entire list of options available.

    Does anyone now how to accomplish this?

  23. MAN i’m torn!
    I love Notepad++ for it’s speed and simplicity…
    I love Aptana for it autocompletion and project handling…

    Both have support for ZenCoding (It’s a MUST HAVE!!!)

    If only Notepad++ had the Atana style auto-completion!

  24. Thanks a lot. Eclipse got to be too heavyweight for PHP, I didn’t even know autocomplete was already built in to notepad++, freakin awesome.

  25. PHP developers ? Be aware the functions parameters auto-completion will suggest you deprecated or incomplete parameters !
    You can download an up-to-date definition list here : [geoffray.be]

  26. notepad ++ is the best !!!

  27. Auto completion in notepad++ is really nice.It gives auto suggestion according to the Language.

    NOTEPAD++ IS THE BEST

  28. Notepad++ is great

  29. searched around for a while for a plugin for this before i realized it was built in….why they have it turned off by default and buried i do not know…

  30. am proud of you guys this is a great feature that i cant wait to utilize

  31. this doesnt work on me

    • Try using gedit linux… and you will be like it… awesome text editor! don’t forget use plugins GMATE. for snippet plus triger with tab, just type key word and klik “tab” and BAM!! 30-1000 line code ready to use.

  32. Thank you, this site helped me!

  33. thanks it’s help me. another reason for me do not use dreamweaver.

  34. No highlight of javascript-variables! What works in C# just is not implemented for JS – and it’s not possible to add it manually. Beside that: Notepad++-autocompletion is a perfect thing! Fast and usefull for programming.

  35. That there really is no autocompletion of JS-variables is explained here:

    [stackoverflow.com]

    according to that threat, it’s not possible to add this feature manually.

  36. Great. I was looking for it myself earlier but to no avail. Thanks.

  37. i can not get it to work at all, i use html.

  38. It is NOT autocompleting your code – it’s manual completing it!!! Very important difference!
    In Dreamweaver its completing your code while you type but notepad just gives you hints.

  39. I have installed Notepad++ 6.2
    but there is no feature that you said??

  40. I love NP++, but the problem with a jack-of-all-trades tool is that it tends to be okay-at-many-things but good-at-nothing.

    If you’re going to do any serious programming, get Visual Studio, Eclipse, or any other tool specific to the language you’re using.

    At most, NP++ might be nice if you are on someone else’s computer and you have to take a quick look at some source code and you don’t have a real dev tool around to help.

Leave Your Comment


Message is the only required field.
Emails are not published.