将新命令添加到记事本++ [英] Add a new command to notepad++

查看:113
本文介绍了将新命令添加到记事本++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Notepad ++是我从事大多数工作的编辑器.我想开发一个新的命令(键盘快捷键)来做一些独特的事情.有人对我如何做到这一点有任何指示吗?

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.

推荐答案

您有几种选择:

  • 开发宏-在记事本++中检查下拉菜单

使用 AutoHotKey ,它可以发送击键/鼠标单击,运行应用程序/DLL,与剪贴板配合使用,读取任何系统设置,从输入框中获取值以及更多其他内容.请参阅此处其在Notepad ++中的示例用法

将JN插件用于Notepad ++,并使用JavaScript编写功能脚本-示例.同样,也有一个Python脚本插件.

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

编写您自己的N ++插件.您将获得最佳控制,但是没有经验,这是最困难的选择.

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

这篇关于将新命令添加到记事本++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆