How do I set Notepad++ as the default editor?
-
Start Notepad++ with elevated privileges.
In Notepad++, go to Settings, Preferences...
Go to the File Association tab.
-
Select fortran,TeX,SQL and then
.sql
and add it to the registered extensions: Click Close.
Start notepad++ as administrator, by right-clicking it's icon and selecting the relevant action:
In Settings > Preferences...
, you can associate the extensions you want with Notepad++, using this dialog:
In this case, clicking on the red-outlined arrow would assicoate all .txt with Notepad++.