代码预览窗口 - 2017年Visual Studio社区 [英] code preview window - Visual Studio Community 2017

查看:133
本文介绍了代码预览窗口 - 2017年Visual Studio社区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,

解决方案

嗨Colin,


欢迎来到MSDN论坛。


>>如何获取ASPX和HTML页面,代码预览窗口。


您的意思是xx.aspx和xx.html页面的Designer视图吗?我想应用程序类型是ASP.NET Web应用程序,我试图在我的VS社区2017中创建一个,打开一个xx.aspx和
我可以设置并显示设计器视图,如下所示:



对于xx.html页面,默认的HTML编辑器没有设计视图,我们可以右键单击并选择"在浏览器中查看(xxxx)"进行预览,我们也可以尝试关注

这个
并将默认编辑器设置为Web表单编辑器如上所示具有设计视图,然后它可以具有如下设计,拆分和源视图:


  1. 右clic k在Visual Studio的解决方案资源管理器中的任何HTML文件,然后单击 打开
  2. 选择  HTML(网络表单)编辑器
  3. 点击 设为默认
  4. 点击  OK 按钮










最好的问候,


萨拉


Hi all,

解决方案

Hi Colin,

Welcome to the MSDN forum.

>> How do I get the ASPX and HTML page, code preview window up.

Do you mean the Designer view for the xx.aspx and xx.html page? I suppose the application type is ASP.NET web application and I tried to create one in my VS community 2017, open one xx.aspx and I can set and display the designer view like the following:

For the xx.html page, the default HTML editor does not have a design view, we can right click and choose ‘View in Browser (xxxx)’ to preview it, we can also try to follow this and set the default editor to the Web forms editor which does have a design view as above, then it can have the Design, Split and Source view as below:

  1. Right click any HTML file in the Solution Explorer in Visual Studio and click on Open with
  2. Select the HTML (web forms) editor
  3. Click on Set as default
  4. Click on the OK button

Best regards,

Sara


这篇关于代码预览窗口 - 2017年Visual Studio社区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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