The Notepad editor’s default suffix for new files is .txt, which is Notepad files. It brings inconvenience to create new relevant programming language files in programming development.
This article takes java as an example to describe the installation of Notepad and how to change the Notepad editor's default suffix for new files.
Set Notepad to create new java files by default (Recommended learning: notepad )
Find Settings-->Preferences- in the Notepad menu bar ->New
Take java as an example, set the default language to java and the encoding to ANSI
After setting, select the close button
After the setting is completed
Click File-->New (or use the shortcut key ctrl N) to create a file. After entering the content at will, press ctrl s to save the effect. as follows.
The suffix has been automatically changed to .java
The above is the detailed content of How to set notepad++ to create new java files by default. For more information, please follow other related articles on the PHP Chinese website!