改进了 Ruby 的 UltraEdit Word 文件? (代码折叠)

发布于 2024-08-31 10:13:42 字数 80 浏览 3 评论 0原文

UltraEdit 中默认的 Ruby wordfile 不支持代码折叠。 UltraEdit 是否有支持代码折叠的 Ruby wordfile?

The default Ruby wordfile in UltraEdit does not support code folding. Is there a Ruby wordfile for UltraEdit that does support code folding?

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

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

发布评论

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

评论(1

£冰雨忧蓝° 2024-09-07 10:13:42

帮助文档说,如果没有为该扩展指定代码折叠,它将默认为大括号。但事实似乎并非如此。我查看了 C/C++ Word 文件,发现

/Open Fold Strings = "{"
/Close Fold Strings = "}"

如果这对您来说足够了,只需将其添加到您的 Word 文件中即可。您还可以使用其他令牌:

/Open Fold Strings = "{" "def" "if" "while" "class"
/Close Fold Strings = "}" "end" "end" "end" "end"

UE 非常灵活 - 试一试!

The help doc says if code folding is not specified for that extension, it'll default to braces. But that doesn't seem to be the case. I looked in the C/C++ word file and found

/Open Fold Strings = "{"
/Close Fold Strings = "}"

so if that's enough for you just add that to your word file. You can also use other tokens:

/Open Fold Strings = "{" "def" "if" "while" "class"
/Close Fold Strings = "}" "end" "end" "end" "end"

UE is pretty flexible - give it a go!

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