Visual Studio 2013 Browser Link - Enable CTRL to Edit in Browser

拟墨画扇 提交于 2019-12-06 03:59:42

问题


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

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.

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.


回答1:


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.

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" />


来源:https://stackoverflow.com/questions/19982892/visual-studio-2013-browser-link-enable-ctrl-to-edit-in-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!