1

I am looking for an alternative program on macOS, like Notepad++ with two abilities:

  1. To write and edit program code,

and

  1. Search specific string in a folder full of text files.
  • Emacs will do this - basically you are asking for the usual suspects Visual Code, Atom, Sublime Text and if you think notepad++ is OK then macVim - and there are lots of opinions – user151019 Jun 13 at 13:11
-1

Sublime Text 3 is the editor you are looking for. It is available to download for free.

This text editor is pretty popular with software developers and users of macOS.

Sublime text includes powerful text editing features along with support for popular programming languages. It also lets you easily search within files in a folder.


P.S.: Sublime Text 3 may be downloaded and evaluated for free, however a license must be purchased for continued use. Acquiring a license by paying one time fee removes the non-intrusive prompt to register the product and it is meant to support the developer behind the wonderful product.

A couple points of note from the Sales FAQ page:

  • A license is valid for Sublime Text 3, and includes all point updates, as well as access to prior versions (e.g., Sublime Text 2). Future major versions, such as Sublime Text 4, will be a paid upgrade.

  • Licenses purchased for Sublime Text 3 do not expire, however an upgrade fee will be required for Sublime Text 4.

P.P.S.: I have no-affiliation whatsoever with the developer. This is a wonderful app which is widely popular among both casual users and software developers.

  • it is what I want. but it should be better free. – D.JCode Jun 14 at 7:52
  • @D.JCode It indeed is free. The unregistered version is free to use, forever, with all the features available. Registering the product simply removes the unregistered title from the title bar and the prompt requesting to register (which is shown once in a while). It is encouraged to register to support the programmer behind the app. – Nimesh Neema Jun 14 at 7:54
  • I don't know it. thank you so much. – D.JCode Jun 14 at 8:01
  • When did Sublime Text become a free app? Someone needs to let the developer know, they don't seem to agree with you. – Marc Wilson Jun 14 at 12:49
  • @MarcWilson Thanks for mentioning. I have updated the answer. However, the requirement of procuring a license is not enforced, and technically, the product can be evaluated forever. For the same reason, I have mentioned that purchasing license is meant to support the developer. – Nimesh Neema Jun 14 at 13:01
1

Atom is another great editor that has the features you are looking for, with the added benefit of being free and open source.

A good comparison of Atom and Sublime Text 3 can be found here

  • in Atom I can not find a tool to search a word in text files. – D.JCode Jun 13 at 16:07

Not the answer you're looking for? Browse other questions tagged .