The easiest way, but not the most graceful, is in Arduino's File > Preference menu. Select "use external editor". You'll see the Arduino editor becomes gray and can't be edited anymore. But you...