Many of the compilation configurations of notepad ++ are using GCC on the Internet. However, in windows, the files to be downloaded to configure GCC are large. Generally, cygwin is used, now, use the VC compiler to configure the notepad ++ compiling environment, that is, let notepad ++ call the VC compiler.
Take vc6 as an example to compileProgramIt is cl. EXE. If vc6 is installed, environment variables are added by default, and you do not need to set environment variables (path include Lib)
To make the development environment better, install two controls, function_list and npp_exec. For the installation steps, refer to the following link.
Http://aofengblog.blog.163.com/blog/static/63170212010111164752194/
Supplement:
1. For the new notepad ++ version, function_list does not support very well and is easy to crash. When editing files, you can select the notepad ++ language to prevent crash.
2. The corresponding batch processing command using the VC compiler is as follows:
CL-o $ (current_directory) $ (name_part) $ (full_current_path)