Only change g++ instead of gcc and *.cpp instead on *.c Press F6 and select script or just press shortcut(I assigned Ctrl+ 2). Now assign shortcut key as given in first answer. Go to plugins->NppExec->Advanced options.Īssociated Script-> from combo box select the above name of script. (Remember to give above four lines separate lines.) No need for different configuration just download this plugin. Go to plugins->NppExec-> Run file in Python intercativeīy using this you can run scripts within Notepad++. Your *.class will generate on location of current folder despite of programming error. In command section, type this cmd /c cd '$(CURRENT_DIRECTORY)'&'%JAVA_HOME%\bin\javac''$(FULL_CURRENT_PATH)' Requirement: You need to setup JAVA_HOME and classpath variable. Note: Not required seperate config for seperate files.
Now press F6 and you will find your Perl script output on below side. Save it and give name to it.(I give Perl). In command section, type this cmd /c cd '$(CURRENT_DIRECTORY)'&'$(FULL_CURRENT_PATH)' Requirement: You need to setup classpath variable.