It is possible to use your favorite html editor ( for example, Notepad++ ) to edit the html source code of your UI component view or BSP application by simple configuration:
Just specify the absolute path of your local html source code editor ( .exe file ) in SE80 settings below:

How is local html editor launched with source code
There is no magic behind the scene.
(1) Once Edit-local menu is selected, first the path of local editor exe file is retrieved: