关于 Notepad++ 你可能不知道的 5 个技巧

小卒过河 发布于 2011/08/04 14:25
阅读 4K+
收藏 2

Notepad++ 是个轻量级,却十分强大的文本编辑器。本人一直使用Notepad++,并从中发现了很多的技巧。其中下面列出的这些恐怕,你所不知。

1. Transform your Notepad++ to a post-it

Re-size the Notepad++ editor window to the size you want and then press F12 which will make the text editor to stick on top of all other windows and will hide tool bars/menu bars.

To get back original window, just click on the Restore button.

2. How to delete a Macro in Notepad++

To delete a macro in Notepad++, go to Settings -> Shortcut Mapper -> Macros and then right click on the macro name which you want to delete and click delete.

how to delete a macro in Notepad++

3. Edit two files side by side in Notepad++

Open the two files which you want to edit simultaneously. Right click on any one file’s tab and then select “Move to other view” which will split the screen into two for each of the file.

Of course, you can have more than 2 files open at the same and you can move any file into any view. Just follow the above said tip.

4. Switching between vertical and horizontal split in side by side editing mode

When you edit two files side by side, the files can be split either vertically or horizontally. To switch between vertical <-> Horizontal, right click on the bar which splits the views and then select “Rotate to Left” or “Rotate to Right”.

switching between horizontal to vertical split mode in notepad++

5. Auto close HTML/XML tag

Go to TextFX -> TextFX Settings -> +Autoclose XHTML/XML <tag>. After checking that option, when ever you edit a html or xml file, the tags will be auto-closed as you type.

加载中
0
袁国涛
袁国涛

嗯,不错,有时间要好好看看帮助。

 

0
kkkkei
kkkkei

是不错的软件哦.在windows 下就是用这个呢.

现在 在Linux下就没办法用啦.呵呵.

0
老腊肉
老腊肉
只谈技术,不谈政治
0
h2ero
h2ero
最后两条知道,过了喜欢用Ctrl+D复制当行
0
bastetwang
bastetwang

我补充一个小技巧吧:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\Shell\用 NotePad++ 打开]

[HKEY_CLASSES_ROOT\*\Shell\用 NotePad++ 打开\Command]
@="\"F:\\office\\notepad++\\notepad++.exe\" \"%1\""

当然,最后一行要改成你的notepad++所有的目录。双击即可以右键增加相应的菜单。

0
好威支有希
好威支有希
评论都删了
0
Macrotea
Macrotea

http://www.iteye.com/news/22326

这里是中文的

返回顶部
顶部