Hello Peter, and welcome to the community!
There are quite a lot of options, but I haven't found anything that's quite as convenient as what you're asking for.
cypher-shell with any ide or editor
cypher-shell supports piping in cypher-script files. Put each command in a single mycommand.cypher file, then pipe into cypher-shell. If you need well structured cypher params, it can get a little tricky.
> cat mycommand.cypher | cypher-shell -u [user] -p [password] --format plain > ~/cypherlog.mycommand.log 2>&1
IDE Plugin, like Graph Database support for Jetbrains IDEs.
Once configured, it adds a context menus to your code, database integration, and basic graph rendering in query responses. It's not the best at syntax checking all possible cypher commands and patterns, but it'll definitely get the job done.
Partial tools, free and paid
There's quite a few tools out there specifically for interacting with graphdbs, and even more that support Neo4j integrations. The catch with these tools is this: convenience is added through complexity in the UI, and reduced capabilities. Every tool is built with a certain method or goal in mind, and will never be as simple and flexible as raw Cypher. But, they can give a leg up to people learning graphs.