Default save extension in Notepad++

notepad

I see Notepad adds .txt to the save name I choose. I can change this by changing file type when saving. But, next time I must change the file type again. How do I choose the default file type?

I see that my type is "Normal Text" in the Settings > Preferences. But, I see no "None" option there.

Best Answer

I found a workaround here.

You have to edit langs.xml. On Windows, it is located in %appdata%\notepad++. Change < Language name="normal" ext="txt"/> to < Language name="normal" ext=""/>. Then set your default language to Normal Text.

Alternately, you could change a language you don't use if you wish to keep Normal Text for .txt files. I chose makefile because I don't use it and there is only one setting for # comments.

Related Question