Ok. Pay attention. You'll thank me later.
I spend my day writing SQL, working in SSMS.
Often, when writing stored procedures, I'll execute the script (creating the object) and then scroll to the top of the page and execute the sproc using a piece of test code that will call the sproc.
Scroll up, scroll down. Repeat.
Or, you copy the test code throughout your code. Messy.
How about this?