nullstream weblog - YANR (Yet Another Notepad Replacement)


« Lost in the noise | Would you like to try my Long Horn? »

YANR (Yet Another Notepad Replacement)

NocturnalCoder

August 24, 2005 08:59 AM PST

Notepad++
I've been using my old pal Notepad2 as a notepad replacement for quick and dirty code and file editing. Ok not as quick and dirty as using VI, but hey I currently live full time in a Windows world. I was surfing around a few days ago and found another light weight notepad replacement that might just win me over: Notepad++. This one is based on the same editing enging, Scintilla as Notepad2. It also has nearly the same feature set, color syntax highlighting (popular prog languages as well has xml, html blah blah blah), regex search, bookmarks, zoom and is about the same size. Why then would I switch you ask? Well Notepad++ seems to be a more active project and it does Tabs! I like tabs. It will also split screen so I can work on two files at once, or two parts of the same file. I do that often in my full blown editors. I'm going to give it a week or so to see how I like it before making the switch.

Tip:
I find it is most useful when utils like this are mapped to your path so you can just pop open files as you dredge your way around in the command prompt. The nice thing is that each time you invoke the program with a new file it just opens it in a new tab rather than starting a new instance. This is cool. I found however that a little trickerly is required to allow Notepad++ to keep track of many files from different paths when launched from the command line as it doesn't seem to store the full path that way. I created a batch file to launch it that would expand the filename you give it to a full path before handing to Notepad++ so now it is happy. The side effect of this is that I can drop this batch file into a dir already in my path so I don't have to bloat it with yet another directory (YAD). Here is the contents of the batch, note your install location may vary. I call mine npp.bat:

@start "Notepad++" "%SystemDrive%\Program Files\Notepad++\notepad++" "%~f1"


Comments (12)
Paul, August 24, 2005 12:52 PM:

Back in the day, I bought a copy of UltraEdit, version 8 (it's gone to 11 now, apparently).

I wanted something that did hex editing, and didn't realize that Visual Studio had it baked in.

John, August 24, 2005 12:57 PM:

I remember ultraedit.

I also forgot to mention that Notepad++ does find-in files and has plug in support.

J, August 24, 2005 05:04 PM:

I just use the built in editor in visual studio... is there any reason to switch to one of these?

John, August 24, 2005 05:38 PM:

Well I personally find VS a bit heavy to edit the occasional .bat or .xml file, but hey to each his own.

J, August 24, 2005 06:03 PM:

Dude... you don't have VS up and running 24/7? Wow. Wow. (Brian from Family Guy)

John, August 24, 2005 06:14 PM:

Yeah I know. Back in the day I lived inside that thing. Now I only boot it up once a week or so.

Paul, August 25, 2005 12:52 AM:

Thanks (not) to John for using the first animated icon here.

John, August 25, 2005 09:51 AM:

Hurry up and post it off the screen.

Paul, September 6, 2005 11:49 PM:

The icon... it stopped blinking!

John, September 7, 2005 08:37 AM:

Yeah you bunch of whiners. Next I'm going to do a post with a mouse over wave file... "da da ding ding ding."

J, September 7, 2005 02:08 PM:

OMG, that crazy frog thing was so obnoxious. They actually had it as a mouseover ad on MSN messenger for a while. One errant mouse movement an "ring ding ding ding..." That crazy frog ringtune sold more copies than the big Coldplay single on their new album!

John, September 7, 2005 02:32 PM:

I can't imagine anyone who would want their phone going off with that ring tone, not unless they are looking to get punched in the face.






All links will be marked with the nofollow tag, making them useless for search rankings. Any posts containing spam URLs will then be deleted.