This is the easiest way to ensure your most common text files open in Notepad++ by default.
Open → Apps → Default Apps .