MonoDevelop 2.0 中的代码模板

发布于 2024-08-04 19:28:06 字数 109 浏览 4 评论 0原文

我想在 MonoDevelop 2.0(在 Ubuntu 下)中创建一些自定义模板,但我发现这个过程并不像我想要的那么直观。有谁知道模板存储在哪里?以什么格式?

善良,

I'd like to create some custom templates in MonoDevelop 2.0 (under Ubuntu) but am not finding the process as intuitive as I'd like. Does anyone know where in templates are stored? In what format?

Kindness,

Dan

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

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

发布评论

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

评论(2

多情癖 2024-08-11 19:28:06

在 MD 2.0 中,它们存储在 ~/.config/MonoDevelop/monodevelop-templates.xml 中的单个 XML 文件中。在 MD 2.2b1 中,它们作为单独的文件存储在 ~/ 中。 config/MonoDevelop/templates/code/

MD 2.2 具有更好的代码模板功能。支持链接和可编辑区域、“环绕”模板,并且代码模板编辑器已被重写。

In MD 2.0 they're stored in a single XML file in ~/.config/MonoDevelop/monodevelop-templates.xml In MD 2.2b1 they're stored as individual files in ~/.config/MonoDevelop/templates/code/

MD 2.2 has much better code template features. There's support for linked and editable regions, "surround with" templates, and the code template editor has been rewritten.

小女人ら 2024-08-11 19:28:06

在 OS X 10.7 和 MonoDevelop 2.8 上,它们是位于此处的单独文件:

~/Library/MonoDevelop-Unity-2.8/Snippets/

编辑:它们现在已移至此处:

~/Library/MonoDevelop-Unity-4.0/Snippets

On OS X 10.7 and MonoDevelop 2.8, they are individual files that live here:

~/Library/MonoDevelop-Unity-2.8/Snippets/

Edit: They have now moved to here:

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