Home  >  Article  >  Development Tools  >  How to set notepad++ to create new java files by default

How to set notepad++ to create new java files by default

(*-*)浩
(*-*)浩Original
2019-08-06 14:40:025732browse

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.

How to set notepad++ to create new java files by default

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

How to set notepad++ to create new java files by defaultHow to set notepad++ to create new java files by default

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

How to set notepad++ to create new java files by default

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn