Does anyone have a Notepad++ plugin that will generate UUIDs and insert them

那年仲夏 提交于 2019-12-04 17:38:28

问题


I Often need UUIDs inserted into files that I'm editing in Notepad++. Does anyone have a macro or add in that does this. Or an autohotkey script?


回答1:


Install the GhNppExec plugin from Plugin Central, then configure to run the simple Python script below.

Use the shortcut mapper to assign a key combination to the plugin command.

import uuid
import sys

# make a random UUID
sys.stdout.write(str(uuid.uuid4()).upper())



回答2:


NppToolBucket does it very nicely, too.

http://sourceforge.net/p/npp-plugins/discussion/667712/thread/71f5e965




回答3:


(AHK) Universally Unique Identifier (UUID/GUID) Generator

It's not spectacular(has its flaws), but it looks to get the job done.



来源:https://stackoverflow.com/questions/2547416/does-anyone-have-a-notepad-plugin-that-will-generate-uuids-and-insert-them

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!