3 ms·
I mainly edit in vim in a terminal, but when I feel like a GUI I used BBEdit. I also use when I'm trying to understand someone else's code. I like its multi-fi
by tzs 4y ago
I mainly edit in vim in a terminal, but when I feel like a GUI I used BBEdit.
I also use when I'm trying to understand someone else's code. I like its multi-file search better than anything else I've tried. When you do a multi-file search in BBEdit (or a single file search if you use the "Find All" command) it opens up a search results window split horizontally into two panes.
The top pane shows all the matching lines, grouped by file. You can collapse the matches for any given file.
When you select a line in the results pane an editor opens in the bottom pane for the file containing that line, with the cursor on that line. You can make changes if you want there or in the regular editing window that the file is in or both.
You can have multiple multi-file search results windows open. I might be looking at a function in a file, do a multi-file search to find all mentions of that, and then while looking at a caller in another file see something that needs changing, and start doing that right in the bottom pane of the results. While doing that I might need to check something else out, do a second search for that, see something that needs fixing there, and do that from that results window's bottom pane.