在 Delphi IDE 中生成新的随机 GUID

发布于 2024-08-08 05:08:15 字数 60 浏览 1 评论 0原文

如何在 Dephi IDE 中生成随机的新 GUID?

我使用的是Delphi 2007。

How I can generate a random new GUID inside of the Dephi IDE?

I am using Delphi 2007.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

公布 2024-08-15 05:08:15

只需按 Ctrl + Shift + G

Just press Ctrl + Shift + G

逆流 2024-08-15 05:08:15

Ctrl+Shift+G 将在编辑器中的当前位置放置一个新的 GUID。

它被格式化为用作接口 IID,即带有方括号 - [] - ,但是一旦您在文本编辑器中获得了 GUID,您就可以用它做任何您想做的事情 - 将其复制/剪切到剪贴板等

Ctrl+Shift+G will place a new GUID at the current position in the editor.

It's formatted for use as an interface IID, i.e. with enclosing square brackets - [] - , but once you've got the GUID in the text editor you can do whatever you want with it - Copy/Cut it to the clipboard etc

岛歌少女 2024-08-15 05:08:15

我想知道为什么这对我不起作用,但现在我发现它取决于 Delphi-Options 中所选的键盘布局(Options->Editor-Options< /code>->键盘)。

使用 classic IDE 布局,实际上是 Ctrl+Shift+G,但我通常使用 VisualStudio-Emulation ,它是 Ctrl+Alt+G

I had wondered why this didn't work for me, but now I found out that it depends on the selected keyboard-layout in the Delphi-Options (Options->Editor-Options->Keyboard).

With the classic IDE layout it really is Ctrl+Shift+G, but I usually use the VisualStudio-Emulation and there it is Ctrl+Alt+G instead.

旧伤慢歌 2024-08-15 05:08:15

Jedi VCS 中 Get 模块的默认快捷键(如果今天仍有人使用 VCS)是相同的,必须在 Jedi VCS 设置中清除。否则 GUID 快捷方式将不起作用。

Default key shortcut for Get module in Jedi VCS (if anyone still use VCS today) is the same and must be cleared in Jedi VCS Settings. Otherwise GUID shortcut won't work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文