【tools】Notepad++扩展功能插件(实用)
Date: 2018.9.9
1、参考
https://www.crifan.com/files/doc/docbook/rec_soft_npp/release/htmls/npp_common_plugins.html
https://blog.csdn.net/u010039418/article/details/81530582
https://blog.csdn.net/liu857279611/article/details/51404927
https://blog.csdn.net/gongqinglin/article/details/78596082
2、前言
Notepad++是一款非常优秀的文本编辑器,与此类似的文本编辑器还有Sublime text,不过我更加喜欢Notepad++,也许是先入为主的原因吧。
最近在使用Notepad++的过程中发现,Notepad++没有光标返回上一次编辑位置的功能,通过搜索,查找到大神们已经开发好了很多实用的Notepad++扩展插件,下面讲述一下主要的几个插件功能和下载链接,以供大家学习使用。另外,发现开源确定可以极大提高整个社会的效率,提倡开源!
所有插件的安装方法很简单,将xxx.dll拷贝至Notepade++安装路径下的Plugin目录下,然后重启Notepad++即可。
需要注意的是,Notepad有ANSI版和Unicode版本,有的插件只支持其中某个版本。
3、光标返回上一次编辑位置
官方下载链接: https://sourceforge.net/projects/locationnav/
LocationNavigate, support the navigate of cursor location histroy , mark or navigate edited line.
Features
- Automatic record the cursor position, you can set each position offset.
You can jump to any position that your cursor have been visited. - Can use shortcut( ctrl + - for back position and ctrl + shift+ - for forward position ) to jump code back and forward
- History position can automatic adjusted when text modify.
- Support jump between open files, if files closed ,it will open it automatic.
- Location history can be set to whether cleaned when file is closed
- Can jump to any modified location ( ctrl+atl + z ) back and forward ( ctrl+atl + y ) in the history list it is marked by ‘!’
- Will always record the position even after you jumped by setting ‘Always record’.
- Toolbar’s button will auto be diabled or enabled in different state
4、自动补全括号
下载链接:https://sourceforge.net/projects/npp-plugins/files/XBrackets%20Lite/
5、文件自动保存功能
下载链接:https://sourceforge.net/projects/npp-plugins/files/AutoSave/
https://sourceforge.net/projects/npp-plugins/files/DocMonitor/NppDocUpdater%20v1.0/
6、文件Compare功能(类似于Subversion compare)
Comparison plugin for Notepad++ editor.
Features
- Side-by-side visual differencing
- Comparison against SVN database
- Highlight differences inside lines
- Navigation bar shows a map of compared files
- Moved line detection
- Easy navigation between differences
- Customizable results presentation
下载地址:https://sourceforge.net/projects/npp-compare/
将下载好的压缩文件,把里面的ComparePlugin.dll文件放在安装路径Notepad++\plugins下即可。安装路径如果是默认的,应为C:\Program Files (x86)\Notepad++\plugins 。
7、文件搜索工具
8、其他官方插件
https://sourceforge.net/projects/npp-plugins/files/
THE END!