Visual Studio 2010 powertools HTML 剪贴板支持
我安装了 http://weblogs.asp.net/scottgu/archive/2010/06/09/visual-studio-2010-productivity-power-tool-extensions.aspx 但我找不到可以使用的地方HTML 剪贴板支持。有人知道在哪里可以找到它吗?我已经在复制后在 kebyoard 设置中进行了搜索,但这并没有为我提供有用的东西。
有人吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您是否尝试过 这篇文章?
您需要执行以下操作:
Did you try out the steps described in this article?
You need to do the following:
当您复制代码并将其粘贴到 HTML 缓冲区(即 Visual Studio 设计器)时,它将自动格式化。
尝试
复制代码并将其粘贴到 Visual Studio HTML 设计器中
你会发现它自动格式化了。
when you copy the code and paste it to a HTML buffer (i.e visual studio designer) it will be automatically formatted.
to try it
copy a code and paste it in visual studio HTML designer
you will find it automatically formatted.
仅供未来可能的读者使用(因为我本人是从谷歌来到这里的)。
对我来说,
ctrl
+shift
+v
在 Windows Live Writer 2011 中没有执行任何操作。但是,当我右键单击设计器时,我发现“选择性粘贴”选项,它会显示以下对话框:
然后是文章的其余部分有效,选择“保留格式”可以让我获得预期的代码。
另一个提示是不要弄乱其中提到
)。这是有效的,因为默认的代码容器是
span
的 Power Tools Copy HTML Tools->Options 对话框设置。 “使用类”选项不起作用,您必须使用内联样式。对我有用的设置是不再用真实的空格替换空格字符(默认
Just for possible future readers of this (as I came here from Google myself).
For me,
ctrl
+shift
+v
is not doing anything in Windows Live Writer 2011.However, when I right click in the designer I find the "Paste Special" option, and it gets me the following dialog:
And then the rest of the article works, choosing "Keep Formatting" gets me the code as expected.
Another tip is don't mess with the Power Tools Copy HTML Tools->Options dialog settings that mention
) with real space
span
in them. The 'use classes' option doesn't work and you have to use inline styles. The setting that did work for me was replacing space characters (Defaultno more. This works because the default code container is
<pre>
tag which "does" preserve spaces. Of course this won't work if you change the container to something else that doesn't have<pre>
.