TextMate
TextMate is a graphical text editor for macOS 10.12 or later
Powerful and customizable text editor with support for a huge list of programming languages and developed as open source. Making multiple changes at once, swapping pieces of code, and a lot more is made trivial with TextMate’s easy way to add multiple insertion points. Select what you want to search, what you want to search for, and TextMate will present the results in a way that makes it easy to jump between matches, extract matched text, or preview desired replacements. See what files have changes in the file browser view, what lines have changes in the editor view, bring up a diff of the current file’s changes, commit a subset, TextMate supports it all for all the major version control systems. One file mixing languages? Projects using different build systems? Third party code with different formatting preferences? TextMate can handle it all by associating detailed scope selectors with key shortcuts, settings, etc.