notepad++-Install and configure C/D + + development Plug-in | notepad++-Install and Configure plugins for develop C + +

Source: Internet
Author: User

First, notepad++ plug-in/notepad++ Plugins

1. Function List (Unicode)
Current Update: Version 2.1
Release Date: 2010-02-18
Installer: HTTP://SOURCEFORGE.NET/PROJECTS/NPP-PLUGINS/FILES/FUNCTION%20LIST/FUNCTIONLIST%20PLUGIN%20V2.1/ Functionlist_2_1_uni_dll.zip/download

2, Nppexec (Unicode)
Current Update: Version 0.4.1
Release Date: 2010-07-22
Installer: Http://sourceforge.net/projects/npp-plugins/files/NppExec/NppExec%20Plugin%20v0.4.1/NppExec_041_dll_ Unicode.zip/download


Second, installation Environment/environment

Windows2003/windows XP
notepad++-5.8.5 (Unicode version)


Third, notepad++ plug-in Installation/notepad++-Howto Install Plugins

How to install the notepad++ plug-in, the original official website is as follows:
Usually, the only installation procedure plugins require are to

    • Place the DLL in the Plugins subfolder of the notepad++ install folder;
    • Place any configuration file it comes with in plugin\config
    • preferrably, place all documentation files in Plugin\doc, or in some subfolder of it


notepad++ loads plugins at startup. To load a new plugin, can either close and restart notepad++, or use the Settings import, import plugin com Mand. The latter'll copy the DLL in the plugin folder if it's not already there.

President
Typically, the installer plugin only needs to perform the following methods:

    • Copy the DLL files to the plugins directory of the notepad++ installation directory;
    • Copy the configuration file to the Plugins\config directory;
    • A better practice is to copy all document files to the Plugins\doc directory, or to its subdirectories.


The notepad++ is loaded into the plugin at boot time. To load a new plug-in, you can close and restart notepad++, or use the Import plugin command, Setting. Later, copy the plug-in DLL into the plugins directory.


Iv. function List plug-in installation/HOWTO install Plugin "function List"

1, download and unzip functionlist_2_1_uni_dll.zip.
2. Copy the FunctionList.dll to the plugins directory of the notepad++.
3, the C++.FLB, Functionlistrules.xml, Gmod Lua.bmp copied to the Plugins\config directory.
4, restart the notepad++. The effect is as follows:

V. NPPEXEC plug-in installation and configuration/Howto install and Configure Plugin "Nppexec" 1, nppexec installation.
    1. Download and unzip the nppexec_041_dll_unicode.zip.
    2. Copy the NppExec.dll and directory nppexec to the plugins directory of notepad++.
    3. Copy fparser.html, NppExec.txt, Nppexec_manual.chm, Nppexec_manual.knt, nppexec_techinfo.txt from the doc directory to plugins\doc\ The Nppexec directory.
    4. Restart notepad++.

2, nppexec configuration.
1. Open the menu Plugins, Nppexec, Execute ....


2. Configure the compile C file.
Go to "Execute ..." dialog box, enter CMD/C "Gcc-o $ (current_directory) $ (name_part) $ (Full_current_path)", click "Save ..." button to save, named "Compilec".


3. Configure the compiled C + + file.
Go to "Execute ..." dialog box, enter CMD/C "g++-o $ (current_directory) $ (name_part) $ (Full_current_path)", click the "Save ..." button to save, named "Compilec++".


4. Add "Compilec", "compilec++" to the Macro menu (Macros).
1) Open Menu Plugins-nppexec->advanced Options ....

2) in associated script: the dropdown box below select "Compilec", "compilec++", click the "Add/modify" button to add them to the list below the menu items.
Select the place to the Macros submenu check box.

3) Open the menu macro, you can see "Compilec", "compilec++" has been added to the Macro menu (Macros).

5, compile C language HelloWorld program.
1) Enter the source code of the HELLOWORLD.C:
#include <stdio.h>

void print () {
printf ("Hello world!\n");
}

Main () {
Print ();

return 0;
}
2) Click on the menu Macro----Compilec to perform the effect as shown.
A Hellowrold.exe file is generated in the same directory as HELLOWORLD.C.


Description: If the path to the compiled *.c file contains spaces, an error will be made when executing the "Compile C" command.

Vi. notepad++ turn on auto-Lenovo Prompt/notepad++-enable Autocompletion1, open menu Settings, Preferences ....
2. Click on the Backup/auto-completion tab.
Select Enable auto-completion on each input.
Choose World Completion.
Select Function parameters hint on input
3, in the editing area, the input content, the automatic association hint function effect as shown.

Reference/references1, Http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Central
2, http://yihui.name/en/2010/08/auto-completion-in-notepad-for-r-script/

notepad++-Install and configure C/D + + development plug-ins | notepad++-Install and Configure plugins for develop C + +

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.