Today, I tried to use editplus and G ++ for configuration. Next, let's take a look at my configuration process,
Install, set, and use mingw in win7
)
1.Open editplus's "tool"-> "Configure user tool", and then we will see the user tool configuration interface, such:
If we have already configured many tools, we recommend that you group the tools. You only need to click the "group name" button to group the tools. For example:
2.First, configure the C ++ compilation function.
Command: D: \ mingw \ bin \ g+cmd.exe parameter: "$ (filepath)"-o "$ (filenamenoext)" Initial Directory: $ (filedir) Action: capture output
Note:D: \ mingw \ is my mibgw installation directory. You need to modify it based on your actual situation.
Detailed settings are as follows:
3.Next, configure the C ++ running function.
Command: $ (filenamenoext) parameter: initial Directory: $ (filedir) Action: None
Detailed settings are as follows:
4.Finally, to make it easier for us to open the Save folder of the C ++ source file at any time, let's configure the working directory. If you feel unnecessary, skip it.
Command: % WinDir % \ assumer.exe parameter:/N,/E, D: \ Dev \ c ++ initial Directory: Action: Close the window when exiting
Note:/N,/E, D: \ Dev \ c ++ is the directory for saving my c ++ source files. You need to modify it based on your actual situation.
Detailed settings are as follows:
You can use editplus to develop C ++.CodeAutomatic completion and code prompts. You can configure the. cpp file and. STX file in the editplus installation directory respectively. For example: