How to build notepad++ into a rapid java development IDE
The following tutorial column of notepad will introduce to you how to build notepad into a rapid java development IDE. I hope it will be helpful to friends in need!
# Sometimes I have to test a small piece of code, and it takes a long time to open eclipse (the computer configuration is low, please forgive me). Therefore, it is worth having Notepad with plug-ins to create an IDE environment for rapid Java development.
First download the protagonist of this article-nppexec plug-in, download address:
http://www.softpedia.com/get/Office-tools/Text-editors/NppExec.shtml
#I don’t know why I can’t install nppexec using notepad’s plugin manager, so I’d better download and install it honestly. .
Installation method:
Open the downloaded zip, unzip the NppExec.dll into the plugins of the notepad installation directory, then restart notepad, and you can see NppExec in the "Plugins" menu .
Then write the code as follows:
public class HelloWorld { public static void main(String[] args) { System.out.println("hello, world."); } }
Next, compile and execute, press the F6 key, and the Execute dialog box will pop up. We enter the batch processing code in the pop-up dialog box as follows:
#稍微解释下: #进入文件保存目录 cd "$(CURRENT_DIRECTORY)"#编译*.java文件,此处需要你配置好CLASSPATH和JAVA_HOME的环境变量 javac "$(FILE_NAME)"#执行*.class文件 java -cp .;%CLASSPATH% "$(NAME_PART)"
Then click OK, the final effect is as follows:
What we wrote in the Console is The result after the java code is compiled & run.
The above is the detailed content of How to build notepad++ into a rapid java development IDE. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Notepad can be used to record ideas, write code and take notes. 1. Create a new file (Ctrl N), 2. Enter text, 3. Save the file (Ctrl S). It supports a variety of formats and is suitable for beginners and daily use.

Notepad remains free and open source through user donations. 1) Donations are made through PayPal or bank transfer, and the user voluntarily decides the amount. 2) Funds are used for server fees, development tools and developer bonuses, and transparency is guaranteed through periodic reports. 3) Donations not only support Notepad, but also support the development of the entire open source community.

The character encoding problem in Notepad can be solved by selecting the correct encoding by selecting the "Save As" function. 1. Open the file, 2. Select "File"->Save As", 3. Select "UTF-8" in the "Encoding" drop-down menu, 4. Save the file. Use advanced editors such as Notepad to handle more complex encoding conversions.

Notepad does not have built-in autosave function, but can be implemented through scripts or alternative tools. 1. Save Notepad every 5 minutes using PowerShell script. 2. Configure Notepad to enable automatic save. 3. Use VSCode and install the AutoSave plug-in, and set the autosave delay to 10 seconds. Through these methods, data loss can be effectively avoided.

Change the font in Notepad can be achieved through the "Format" menu. The specific steps are as follows: 1. Open Notepad. 2. Click the "Format" menu. 3. Select "Font". 4. Select the font type, size, and style in the dialog box. 5. Click "OK" to save the settings. Through these steps, you can easily personalize the text display of Notepad.

Enable dark mode in Notepad requires modifying the registry settings. The specific steps are as follows: 1. Create and save a file named darkmode.reg, with the contents set by the registry. 2. Double-click the file to import settings, restart Notepad to enable dark mode.

When processing large files, you should use Notepad, command-line tools, or custom scripts. 1.Notepad supports file chunked loading to reduce memory usage. 2. Command line tools such as less or more read files in stream mode. 3. Custom scripts use Python's itertools module to read files iteratively to avoid loading all content at once.

The steps to display line numbers in Notepad are: 1. Settings -> Preferences -> Editor -> Check "Show Line Number". Line numbering is crucial for programmers because it helps quickly locate and reference specific locations in code and improves productivity.
