I looked around and I could not understand. I notice that by right-clicking on the source file, there is a greyed out option for "open in external editor". I could not figure out how to do this at first glance.
A smart solution would be to right-click on the source file that you want to edit, click "Show in Finder", and then edit the file in the editor of your choice. Changes will be automatically updated in Xcode. I think you will lose the undo / redo history you might have had for this file in Xcode, though.
source share