Home > Article > Development Tools > How to save files as java files in notepad++
Because notepad automatically saves as a txt file by default, if you want notepad to save as a java file, you need to set it up. (Recommended learning: notepad )
Open notepad, click [Settings] - [Preferences] in the menu bar;
If you want to automatically save a java file, set the [Default Language] to java in [New] and [Encoding] to ANSI
[Default directory] should look like this. If you check [EnableUse new style dialog box], then the default saved format will not be in java format.
The above is the detailed content of How to save files as java files in notepad++. For more information, please follow other related articles on the PHP Chinese website!