Turn notepad++ into a method for java to rapidly develop IDE
This article mainly introduces the method of building notepad++ into java rapid development IDE, which is very detailed and has a certain reference value. Interested friends must read it!
Sometimes you have to experiment with a small piece of code and it takes a long time to open eclipse (the computer configuration is low, excuse me). Therefore, notepad++ with plug-ins to create a java rapid development of the ide environment you deserve to have.
First, download the nppexec plug-in, the protagonist of this article, and download it at:
Http://www.softpedia.com/get/Office-tools/Text-editors/NppExec.shtml
# I don't know why I can no longer install nppexec using notepad++ 's plugin manager, so just download and install it honestly.
Installation method:
Open the downloaded zip, extract the NppExec.dll into the plugins of the notepad++ installation directory, and then restart notepad++, to see NppExec in the plug-in menu.
Then write the code as follows:
Public class HelloWorld {public static void main (String [] args) {System.out.println ("hello, world.");}}
Next, execute after compilation, press F6 and pop up the Execute dialog box. We enter the batch code in the pop-up dialog box as follows:
# explain a little bit: # enter the file save directory cd "$(CURRENT_DIRECTORY)" # compile * .java file, where you need to configure the environment variable javac "$(FILE_NAME)" of CLASSPATH and JAVA_HOME # execute * .class file java-cp.;% CLASSPATH% "$(java)"
Then, click OK, and the final effect is as follows:
Console is the result of compiling and running the java code we wrote.
These are all the contents of this article entitled "Building notepad++ into a way for java to rapidly develop IDE". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!