Best editor to open doctype files and how to upload in that

I want Open the doctype file at any editor,after changes publish .So I need best editor , publisher and download and upload methods

Can you frame your question clearly?

I like to know the best tool or editor to develop/modify and publish in erpnext.

That depends on what platform you are using. We don’t have a recommended editor. But if you insist, @pdvyas will recommend vim.