Rhino 5 Mac Python Best Practices

I have recently been writing basic Python code for Rhino 5 Mac.
I have read through the primers, but still have a few questions.

Currently, I am storing all of the code inside Rhinoceros > scripts > folder:
Where is the best place to store your Python scripts ?

Currently, I execute all of the code with the RunPythonScript command and manually select the file :
What is the best way to execute code inside of Rhino 5 Mac ?

Currently, I am editing all of the code inside Xcode (which doesn’t provide debugging errors or shortcuts):
What is the best software to edit Rhino 5 Python code in ?

Thanks

you should probably try using Atom instead of Xcode

Rhino for Mac users can also write and execute Python scripts
Rhino for Mac users can also write and execute Python scripts

this will give you autocomplete of rhino python commands and the ability to test run the scripts without RunPythonScript (there’s a keystroke in Atom which will run the script in Rhino)

regarding where to store them, i personally only place usable/finished scripts in the rhino scripts folder… all the WIP, experiments, tests, etc are kept in a separate folder on dropbox.