You has no idea to setup the default editor in filezilla when you view/edit page then simply use this tutorial. You want setup a default editor to your Filezilla, then follow the below steps.
Step 1)
Open the Filezilla
Step 2)
Open the edit menu -> preference from the top left corner
Step 3)
Open the “Filetype associations” and copy paste the code as below if you use sublime as defult editor.
“php /usr/bin/subl”
If you use another editor like NetBeans, dream viewer, notepad++ then you need to find their extension and set in the “Filetype associations”. so your default files will open in that software.