How do I change the way I open scripts.

I opened a script with Microsoft Visual Studio, and i want to change the way I open the script.

Open Preferences, goto External Tools and pick your IDE of choice.