How to put microsoft word to work for you Where to Find Answers Browser Performance Comparisons Middle-Click on Touchpad Laptop Mouse Using Vista’s Parental Controls
Collapsed This Week Collapsed CyberNotes
Collapsed Last Week

Notepad++ 5.0 can Auto-Complete Code

June 16th, 2008
17 Comments Written by Ryan

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]

RSS Icon Enjoyed the post? Subscribe to our feed to get a daily dose of CyberNet!

Tags: Freeware, Pre-Release, Software, , , , , ,

Previous ArticleNext Article
 

Related Posts:


17 Unread Comment Tracking CyberMark This Article
RSS Icon
17

  1. Avatar

    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. Avatar

    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. Avatar

    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. Avatar

    That’s already in 4.9.2, and possibly earlier.

  5. Avatar

    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. Avatar

    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. Avatar

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

  8. Avatar

    SWEET! Make my day! :)

  9. Avatar
    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. ;)

  10. Change (All-Star) Quote this Comment Report this Comment
    Avatar

    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 :)

  11. Avatar
    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.

  12. Change (All-Star) Quote this Comment Report this Comment
    Avatar

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

  13. Avatar

    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!

  14. Avatar

    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.

  15. Avatar
    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. ;)

  16. Avatar

    5.0 is out now. its fukin lethal

:mrgreen: :| :twisted: :arrow: 8O :) :? 8) :evil: :D :idea: :oops: :P :roll: ;) :cry: :o :lol: :x :( :!: :?:

Note: All links posted in comments will automatically be hyperlinked.

↓ Expand Text Area  or  Decrease Text Area ↑

 Find out how to track new comments!


 

  1. Tommy k Johanssons blogg om datorer & Internet