NotePad++安装和配置C/C++开发插件
NotePad++ - 安装和配置C/C++开发插件 | NotePad++ - Install and Configure plugins for develop C/C++
http://aofengblog.blog.163.com/blog/static/63170212010111164752194/
一、NotePad++插件 / NotePad++ Plugins
1、Function List ( Unicode )
当前最新版本:Version 2.1
发布日期:2010-02-18
安装程序下载地址:http://sourceforge.net/projects/npp-plugins/files/Function%20List/FunctionList%20Plugin%20v2.1/FunctionList_2_1_UNI_dll.zip/download
2、NppExec ( Unicode )
当前最新版本:Version 0.4.1
发布日期:2010-07-22
安装程序下载地址:http://sourceforge.net/projects/npp-plugins/files/NppExec/NppExec%20Plugin%20v0.4.1/NppExec_041_dll_Unicode.zip/download
二、安装环境 / Environment
Windows2003 / Windows XP
Notepad++-5.8.5 (Unicode版本)
三、NotePad++插件安装 / NotePad++ - Howto Install Plugins
如何安装NotePad++的插件,其官网原文如下:
Usually, the only installation procedure plugins require is 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, you can either close and restart Notepad++, or use the Settings -> Import -> Import plugin command. The latter will copy the dll in the plugin folder if it is not already there.
译文:
通常情况下,安装程序插件只需要执行如下方法:
- 将DLL文件复制到Notepad++安装目录的plugins目录下;
- 将配置文件复制到plugins\Config目录下;
- 更好的做法,将所有的文档文件复制到plugins\doc目录下,或它的子目录下。
Notepad++在启动的时候载入插件。要载入一个新插件,你可以关闭并重启Notepad++,或使用 Setting -> Import -> Import plugin 命令。稍后将复制插件的DLL到plugins目录下。
四、Function List 插件安装 / Howto Install Plugin "Function List"
1、下载并解压 FunctionList_2_1_UNI_dll.zip。
2、将 FunctionList.dll 复制到Notepad++ 的 plugins 目录下。
3、将C++.flb、FunctionListRules.xml、Gmod Lua.bmp 复制到 plugins\Config 目录下。
4、重启NotePad++。效果如下:

五、NppExec插件安装和配置 / Howto Install and Configure Plugin "NppExec"
1、NppExec安装。
- 下载并解压 NppExec_041_dll_Unicode.zip。
- 将 NppExec.dll 和目录NppExec 复制到Notepad++ 的 plugins 目录下。
- 将doc目录下的 fparser.html、NppExec.txt、NppExec_Manual.chm、NppExec_Manual.knt、NppExec_TechInfo.txt 复制到 plugins\doc\NppExec 目录下。
- 重启NotePad++。
2、NppExec配置。
1. 打开菜单 Plugins -> NppExec -> Execute...。
2. 配置编译C文件。
进入“Execute...” 对话框,输入 cmd /c "gcc -o $(CURRENT_DIRECTORY)$(NAME_PART) $(FULL_CURRENT_PATH) ",点击“Save...”按钮保存,命名为“CompileC”。3. 配置编译C++文件。
进入“Execute...” 对话框,输入 cmd /c "g++ -o $(CURRENT_DIRECTORY)$(NAME_PART) $(FULL_CURRENT_PATH) ",点击“Save...”按钮保存,命名为“CompileC++”。4、将“CompileC”,“CompileC++”添加到宏菜单(Macros)下。
1)打开菜单 Plugins -> NppExec ->Advanced Options...。2)在Associated script:下面下拉框中选择“CompileC”,“CompileC++”,点击“Add/Modify”按钮将它们依次添加到Menu items下面的列表中。
选择 "Place to the Macros submenu"复选框。3)打开菜单 Macro ,可以看到“CompileC”,“CompileC++”都已经添加到宏菜单(Macros)下。
5、编译C语言helloworld程序 。
1)输入helloworld.c 的源代码:#include <stdio.h>void print() {
printf ("Hello World!\n");
}main() {
print();
return 0;
}2)点击菜单 Macro -> CompileC,执行效果如下图所示。
在与helloworld.c 相同的目录下生成了一个 hellowrold.exe 文件。![]()
说明:如果编译的 *.c文件的路径中包含了空格,在执行“Compile C”命令时将报错。
六、NotePad++ 开启自动联想提示 / NotePad++ - Enable Autocompletion
1、打开菜单 Settings -> Preferences...。
2、点击 Backup/Auto-Completion 选项卡。
选择 Enable auto-completion on each input.
选择 World completion。
选择 Function parameters hint on input

3、在编辑区域中,输入内容,自动联想提示功能效果如下图所示。

参考资料 /References
1、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++安装和配置C/C++开发插件的更多相关文章
- IntelliJ IDEA 安装、配置和使用Lombok插件
Lombok 可用来帮助开发人员消除 Java 的重复代码,尤其是对于简单的 Java 对象(POJO),比如说getter/setter/toString等方法的编写.它通过注解实现这一目的.官网: ...
- 安装并配置 Android Studio 开发工具和 Genymotion 模拟器
需求说明: 安装并配置 Android Studio 开发工具和 Genymotion 模拟器. 熟练使用 Genymotion 模拟器,掌握 Genymotion 模拟器的基本设置和程序安装. 实现 ...
- 安装配置Eclipse Python开发插件PyDev
一.PyDev安装的版本要求 PyDev是支持在Eclipse中进行Python程序开发的插件,Pydev官方的说法是需要安装 java 8 and Eclipse 4.6 (Neon),当然,你也可 ...
- Mac下安装与配置Go语言开发环境
1.官网下载安装包(需FQ) https://storage.googleapis.com/golang/go1.7.darwin-amd64.pkg 2.配置Go环境变量GOPATH和GOBIN ( ...
- DevOps 之 Jenkins 安装、配置、美化、插件及常见错误处理
继续上一篇的话题,既然已经搭建了 GitLab 的代码仓库,那么现在就可以开始进行下一步持续集成环境的搭建了.公司准备利用 Jenkins CI 进行持续集成,本文记录了 Jenkins 的安装.基础 ...
- NotePad++安装及配置
NotePad++是一款轻量级的语言开发工具,是学习编程语言入门工具. 下面介绍下配置方法(Java为例) 配置插件NppExec 配置JAVA编译命令javac 配置JAVA运行命令java 上述两 ...
- eclipse安装Hadoop1.1.2版本开发插件
Hadoop1.1.2版本没有直接适合Eclipse的安装插件,需要手动打包jar文件. 我的系统配置: VMware Workstation10 CentOS-6.5-i386 hadoop-1.1 ...
- ubuntu - 14.04,安装、配置GO语言开发工具Eclipse!!
在配置Eclipse之前,我们必须保证下面这些都已经安装,并且正常工作了: 一,Go语言:参考文章 http://blog.csdn.net/sunylat/article/details/49859 ...
- Vue 新手学习笔记:vue-element-admin 之安装,配置及入门开发
所属专栏: Vue 开发学习进步 说实话都是逼出来的,对于前端没干过ES6都不会的人,vue视频也就看了基础的一些但没办法,接下来做微服务架构,前端就用 vue,这块你负责....说多了都是泪,脚手架 ...
随机推荐
- crawler_解析之_jquery_语法选择器使用方法
爬虫解析一般使用 正则或者给予样式的 jquery语法选择器 正则是根本,类比jsoup基于dom,底层也有部分是基于正则实现的,linux操作系统 文本处理也是借助强大的正则体现的 .关于正则 请参 ...
- crawler_大型舆情架构图
- 【足迹C++primer】49、超载,变化,运营商
超载,变化,运营商 Conversion Operators 转换操作符 operator type() const Conversions to an array or a function typ ...
- java_代码注释风格
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templa ...
- ProgressDialog(四)——更改系统自带ProgressDialog文字大小
MainActivity如下面: package com.example.ttt; import android.app.Activity; import android.app.ProgressDi ...
- 安裝 Rails 開發環境
安裝 Rails 開發環境 Give someone a program, you frustrate them for a day; teach them how to program, you f ...
- 基础总结篇之五:BroadcastReceiver应用具体解释
問渠那得清如許?為有源頭活水來.南宋.朱熹<觀書有感> 据说程序猿是最爱学习的群体,IT男都知道,这个行业日新月异,必须不断地学习新知识,不断地为自己注入新奇的血液,才干使自己跟上技术的步 ...
- 关于SelectedItems的问题
在做俄罗斯方块的时候写了以下一段代码: private void listView1_SelectedIndexChanged(object sender, EventArgs e) { ...
- WPF中嵌入WinForm中的webbrowser控件
原文:WPF中嵌入WinForm中的webbrowser控件 使用VS2008创建WPF应用程序,需使用webbrowser.从工具箱中添加WPF组件中的webbrowser发现其中有很多属性事件不能 ...
- Android 通过网络打开自己的APP(scheme)
通过使用手机的浏览器(内部.第三方能够)访问网页,点击一个链接,开始实施自己的应用程序,和传输数据. 第一Mainifest面对文件启动Activity添加过滤器. <activity andr ...






说明:如果编译的 *.c文件的路径中包含了空格,在执行“Compile C”命令时将报错。