Mac equivalent of Notepad++?
I use these two text editors and I think both are pretty good:


Sublime Text: Although it's not "free", it lets you use it for trial indefinitely. It just keeps asking you to buy it every 10-15 time you save a document.
Atom: Which is a text editor developed by GitHub and very similar to Sublime Text, except that it's free. Totally. Since it's new in development, you should expect bugs here and there and updates every few days.


Both apps support "packages" which add functionality and support.

You can also check out Chocolat, but I haven't used it, so I can't provide any in-depth details about it. I've just "heard" that it's a good option.

By the way, you can use TextEdit in "raw" mode. Just open its preferences (cmd + ,) and choose Plain text.) However, it doesn't support syntax highlighting, code completion or file-tree viewer.