notepad++ uses the Nppexec plugin to configure a simple development environment without the need for cumbersome ides and cumbersome, repetitive command-line, console input;
The following is the script configuration I used recently:
In the programming language script $ (name_part). XXX (xxx for file suffix) files can be replaced directly with $ (file_name),
If the language is sensitive to file suffixes, it is best to use $ (name_part). XXX form;
Also, be sure to pre-configure the environment variables and install the appropriate compilation or interpreter tools.
Compiling Erlang to the current directory
Npp_save
CD $ (current_directory)
ERLC $ (name_part). Erl
Compiling Erlang to Bin directory
Npp_save
CD $ (current_directory)
Erlc-o./... /ebin $ (name_part). Erl
Compiling Erlang to Bin directory and carrying Bug_info information
Npp_save
CD $ (current_directory)
ERLC +debug_info-o./... /ebin $ (name_part). Erl
Compile run CPP file (g++), or other compiler or installation environment
Npp_save
CD D:\cygnus\cygwin-b20\H-i586-cygwin32\bin
g++-g-w-wall "$ (current_directory) \$ (file_name)"-O "$ (current_directory) \$ (name_part). exe"
$ (current_directory) \$ (Name_part)
Compiling and running Java files
Npp_save
CD $ (current_directory)
Javac $ (file_name)
Java $ (Name_part)
Compile and run Python files (Python27, of course, PYTHON34, etc.)
Npp_save
CD $ (current_directory)
Python27 $ (name_part). py
Compile and run the Rust file (cargo) (Cargo run already contains the cargo build, which already contains compilation and execution)
Npp_save
CD $ (current_directory)/.
Cargo run
Compile and run the Rust file (RUSTC)
Npp_save
CD $ (current_directory)
RUSTC $ (name_part). RS
$ (name_part). exe
notepad++ using the Nppexec plugin to configure a simple development environment