As a developer, given that I spend much of my day editing the same file repeatedly, I want to be able to right-click in a Core Shell window and choose "Upload Last File Again" (perhaps showing the filename) (perhaps a Touch Bar button too?) so that my workflow is improved and I am more productive.
You might also consider using tools like Forklift, Mountain Duck or ExpanDrive that can mount an ssh host as a drive in the Finder for drag and drop and direct editing of files. The same goes for Visual Studio Code, free. Edit a remote file as if it was local. If you manage your ssh connections in ~/.ssh/config these tools also support those aliases.
Thanks! I did what you're doing initially. Then I started using Forklift and Mountain Duck and while they work they are sensitive to the connection status. Visual Studio Code have none of these issues. The remote file you edit is cached locally and synced in the background. Not really noticeable. For your use case this is what I do now and at times I have spent much time editing remote files.