This artile is for them, who are using netbeans in ubuntu.
Follow the following steps to set netbeans as deafult editor in filezilla
Open FileZilla
Go to Edit >> Preferences >>
Scroll The Left Side Tab:
Click File Editing option
Select “Use custom editor” option
Browse for the netbeans application in your system
OR
paste the following line for default setting.
/usr/local/netbeans-8.2/bin/netbeans
Furthermore, for file type asociations, check the option “Use filetype associations if available”.
Go to File Editing >> File Type Associations
Set file extension as you want like :
js /bin/sh "/usr/local/netbeans-8.2/bin/netbeans"
php /bin/sh "/usr/local/netbeans-8.2/bin/netbeans"
html /bin/sh "/usr/local/netbeans-8.2/bin/netbeans"
css /bin/sh "/usr/local/netbeans-8.2/bin/netbeans"
and Done.