Visual Studio 2013浏览器链接-启用CTRL在浏览器中进行编辑 [英] Visual Studio 2013 Browser Link - Enable CTRL to Edit in Browser

查看:161
本文介绍了Visual Studio 2013浏览器链接-启用CTRL在浏览器中进行编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为Visual Studio 浏览器链接集成启用 CTRL 键?

How do you enable CTRL key for the Visual Studio Browser Link integration?

斯科特·汉塞尔曼(Scott Hanselman)在进行讨论.rel ="noreferrer > VS 2013启动事件.我不确定如何激活或启用实时HTML编辑功能,因此我可以在浏览器中进行编辑并将更改推回Visual Studio.

Scott Hanselman discusses it here around 1:06:00 during the VS 2013 Launch Event. I'm not sure how to activate or enable the realtime HTML Edit feature so I can edit in the browser and have the changes pushed back to Visual Studio.

有人有没有尝试过或者可以提供线索?我有VS 2013 RTM-我似乎找不到任何可能已更改此行为的ASP.NET Web工具更新.这是仅IE的行为还是与浏览器无关?听起来好像只是在页面中注入了其他HTML.

Has anyone tried this out yet or can provide clues? I have VS 2013 RTM - I can't seem to find any update for ASP.NET Web Tools that may have changed this behavior. Is this an IE only behavior or is it browser independent? It sounds like it just injects additional HTML into the page.

推荐答案

根据

According to MSDN Blogs, This appears to be a Web Essentials 2013 extension of Browser Link capability. Visual Studio provides extensibility for Browser Link which Hanselman was sharing.

查看站点时,可以使用 CTRL + ALT + D 启用设计模式,该模式会更新Visual Studio源代码. 浏览器链接的网络浏览器设计模式与浏览器无关.要将其启用为非调试模式 ,您需要添加以下appSettings ...

When viewing the site, you can use CTRL + ALT + D to enable Design Mode which updates the Visual Studio source. Web Browser Design Mode for Browser Link is browser independent. To enable it for non-Debug mode, you need to add the following appSettings...

<add key="vs:enableBrowserLink" value="true" />

这篇关于Visual Studio 2013浏览器链接-启用CTRL在浏览器中进行编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆