Let's say I write a Java class in Notepad++. I choose "java" in the language menu, and when I save the file it will automatically be a .java file. Well atleast it used to. I just reinstalled notepad++ and this doesnt work anymore. Anyone know how to fix it? Thanks in advance :)

  • Can you look at your language settings file? (C:\Users\User\AppData\Roaming\Notepad++\langs.xml) There should be an entry with <Language name="java" .... - the extension should be ext="java"
    – benjamin
    Nov 23, 2015 at 14:57
  • Thanks. It was already correct, so I guess the problem lies somewhere else Nov 29, 2015 at 17:10

1 Answer 1


I'm not familiar with it saving dependent on the syntax but I know that you can change the default file type that it saves as. If that would work for you, there is already a thread about that here and how to change it.

How can I change the standard "save as" filetype of Notepad++?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .