具有用于执行特定“包围"的按钮的工具栏.片段 [英] Tool bar with buttons to execute specific "surround with" snippet
问题描述
我想完全按照旧帖子描述的来做...
I'd like to do exactly what this old post describes...
http://social.msdn.microsoft.com/forums/zh-cn/vsx/thread/3AE18C0F-6D49-45B0-A2A1-7C71F7BE8661
http://social.msdn.microsoft.com/forums/en-us/vsx/thread/3AE18C0F-6D49-45B0-A2A1-7C71F7BE8661
我的理解是,VS 2012中已经没有宏了,但是既然已经很久了,现在是否有一种方法可以在没有宏的情况下做到这一点,或者我是否必须创建/查找扩展来实现这一点?
My understanding is that macro's are gone in VS 2012, but since it has been so long, is there now a way to do that without macro's, or do I have to create/find an extension to accomplish this?
推荐答案
以下是您可以参考的示例:
Here is an example you can refer to:
http://msdn.microsoft.com/en-us/library/ms165394.aspx
或者您可以选择代码段编辑器工具:
Or you can choose the snippet editor tool:
http://snippeteditor.codeplex.com/
这篇关于具有用于执行特定“包围"的按钮的工具栏.片段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!