类似于Rockscroll的Notepad++插件?

10

有没有像 Rockscoll 一样的插件适用于Notepad++?

至少有接近的吗?

谢谢。

2个回答

12

内置功能:

查看 -> 文档结构图

截图


谢谢!但是如果我选择一个单词,地图中没有高亮显示!在rockscroll中,它会突出显示视图中所有重复的单词。有没有办法启用它?它被支持吗? - madan kandula
不,我不这么认为 - 至少在文档地图中不行。 - Blorgbeard
请浏览 http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Central。 - Blorgbeard
5
如果你想要对所选的单词进行高亮显示,可以尝试使用 jN 插件套件中的 "SmartHighlighter"。该插件只在普通工具栏中显示高亮,而不在文档地图中显示,但效果还是很好的!需要注意的是,如果你将 jN 插件套件中的某些其他“包含项”移入禁用文件夹以仅保留“SmartHighlighting”,请不要禁用 MenuCmds.js,否则“SmartHighlighting”将无法正常工作! - sparrowt
关于SmartHighlighter:https://superuser.com/questions/216088/can-notepad-mark-scrollbar-with-visual-indicators-of-search-results - JinSnow

2
你可以使用 SmartHighlighter。这个答案来自于 https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3116 步骤
  1. Download the latest release of the plugin from https://github.com/sieukrem/jn-npp-plugin/releases

    • If notepad++ folder is in C:\Program Files (x86)\Notepad++ download the file with _x86.zip suffix

    • If notepad++ folder is in C:\Program Files\Notepad++ download the file with _x64.zip suffix

      From here on if your installation is in C:\Program Files (x86)\Notepad++ just replace C:\Program Files\Notepad++. Procedure is same in both cases.

  2. Create a new folder at C:\Program Files\Notepad++\plugins with name jN
  3. Extract the contents of the downloaded zip file to C:\Program Files\Notepad++\plugins\jN
  4. Optionally, jN plugin includes other components also. So to disable all components of the jN plugin except for Smart Highlighter, Go to C:\Program Files\Notepad++\plugins\jN\includes and keep only below files:

    Dialog.js  
    MenuCmds.js  
    SmartHighlighter.js  
    

    and move the rest of the .js files to disabled folder.
    C:\Program Files\Notepad++\plugins\jN\includes\disabled

  5. Now close and reopen your Notepad++.
  6. Now try selecting a repeated word and check the bar next to your scrollbar. That's it.

谢谢,它按预期工作。但是我如何使滚动条中的线条变粗? - Rohit
@Rohit 在 https://github.com/sieukrem/jn-npp-plugin/issues 上创建一个新的问题,并在那里提问。也许插件开发者会给你指导。 - Rijul Sudhir

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接