I know that VS Code is the most popular editor and has approximately 1 million features and plugins but I’ve never cared for its non-standard interface. As a power user, but non-programmer, I like the free version of BBEdit. Global search and replace is a killer feature. It can also open anything.