Add a new command to notepad++

2019-08-29 01:42发布

Notepad++ is my go to editor for most things. I would like to develop a new command(keyboard shortcut) for doing something unique. Anybody has any pointers regarding how I can do this?

I would like to create a command which arranges selected text in certain order based on the characters found. I would also like create a keyboard shortcut for running the same command.

1条回答
闹够了就滚
2楼-- · 2019-08-29 02:14

You have several options:

  • develop a macro - examine Macros dropdown menu in Notepad++

  • use AutoHotKey which can send keystrokes/mouseclicks, run apps/DLL's, work with clipboard, read any system settings, take values from input boxes and many more. Please see here for its sample usage with Notepad++

  • use JN plugin for Notepad++ and script your functionality in JavaScript - example. Similarly, there is a Python scripting plugin, too.

  • write your own N++ plugin. You get the best control, but without experience this is the most difficult option.

查看更多
登录 后发表回答