notepad++ using the Nppexec plugin to configure a simple development environment

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.