Using an external editor ie VS Code for global stylesheets CSS

Is there any way to use an external editor for the global stylesheet? Working on the on-screen editor is not very ergonomic. Unfortunately, when you update a page and save it recreates the file, so I was hoping there’s a workaround to help me use an external/proper code editor.

Thanks in advance