I want to use different styles for different kinds of files in Notepad++. For example, while editing a .py
file, I want Consolas font and 10 font size and when editing a .txt
file, I want Arial font and 12 font size.
Can I do this? I have tried to config the font and font size in Style Configurator seperately. Both in Global Styles(for .txt
file, since I haven't found "Normal text" or "text" in the Language menu) and Python Default Styles, I've chosen different fonts, but when I open .txt
file and .py
file, there are both style in Global Styles being used.