• vsxxxx Avalon 感知提示


    1.关闭 Visual Studio

    2.打开 C:/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/Packages/schemas/html 文件夹

    3.删除 CommonHTML5Types.bin

    4.打开 commonHTML5Types.xsd,以防万一,先备份再修改

    5.打开文件找到此节点:<xsd:attributeGroup name="commonHTML5coreAttributeGroup"></xsd:attributeGroup>

    在此节点中添加需要的提示,例如:

      ...

      ...

      <xsd:attribute name="ms-controller" />
      <xsd:attribute name="ms-include" />

    </xsd:attributeGroup>

     6.保存,启动 Visual Studio

    //ms
    <xsd:attribute name="ms-controller" /> <xsd:attribute name="ms-important" /> <xsd:attribute name="ms-include" /> <xsd:attribute name="ms-text" /> <xsd:attribute name="ms-html" /> <xsd:attribute name="ms-class" /> <xsd:attribute name="ms-scan" /> <xsd:attribute name="ms-hover" /> <xsd:attribute name="ms-active" /> <xsd:attribute name="ms-on" /> <xsd:attribute name="ms-visible" /> <xsd:attribute name="ms-if" /> <xsd:attribute name="ms-if-loop" /> <xsd:attribute name="ms-duplex" /> <xsd:attribute name="ms-css" /> <xsd:attribute name="ms-data" /> <xsd:attribute name="ms-checked" /> <xsd:attribute name="ms-selected" /> <xsd:attribute name="ms-readonly" /> <xsd:attribute name="ms-disabled" /> <xsd:attribute name="ms-enabled" /> <xsd:attribute name="ms-title" /> <xsd:attribute name="ms-src" /> <xsd:attribute name="ms-href" /> <xsd:attribute name="ms-attr" /> <xsd:attribute name="ms-repeat" /> <xsd:attribute name="ms-each" /> <xsd:attribute name="ms-with" /> <xsd:attribute name="ms-widget" /> <xsd:attribute name="ms-click" /> <xsd:attribute name="ms-dblclick" /> <xsd:attribute name="ms-mousedown" /> <xsd:attribute name="ms-mouseup" /> <xsd:attribute name="ms-mouseover" /> <xsd:attribute name="ms-mousemove" /> <xsd:attribute name="ms-mouseout" /> <xsd:attribute name="ms-keypress" /> <xsd:attribute name="ms-keydown" /> <xsd:attribute name="ms-keyup" /> <xsd:attribute name="ms-mouseenter" /> <xsd:attribute name="ms-mouseleave" /> <xsd:attribute name="ms-blur" /> <xsd:attribute name="ms-focus" /> <xsd:attribute name="ms-change" /> <xsd:attribute name="ms-hover" /> <xsd:attribute name="ms-css-${1:pname}" /> <xsd:attribute name="ms-attr-${1:pname}" /> <xsd:attribute name="ms-repeat-${1:data}Item" /> <xsd:attribute name="ms-each-${1:data}Item" /> <xsd:attribute name="ms-on-${1:event}" />
    //data <xsd:attribute name="data-include-rendered" /> <xsd:attribute name="data-include-loaded" /> <xsd:attribute name="data-with-sorted" /> <xsd:attribute name="data-duplex-changed" /> <xsd:attribute name="data-duplex-event" /> <xsd:attribute name="data-event" /> <xsd:attribute name="data-repeat-rendered" /> <xsd:attribute name="data-each-rendered" /> <xsd:attribute name="data-with-rendered" />
  • 相关阅读:
    UTF-8和GBK的区别
    JSP页面中的pageEncoding和contentType两种属性
    tomcat中reloadable作用
    为什么Servlet修改之后,Tomcat都得重启,servlet才会生效!
    windows下mysql表名不自动转换小写配置
    导入mysql文件提示“ASCII '' appeared in the statement”
    request:getParameter和getAttribute区别
    Eclipse常用快捷键
    For input string: "null"
    国内外知名IT科技博客(强烈推荐)
  • 原文地址:https://www.cnblogs.com/OleRookie/p/5619321.html
Copyright © 2020-2023  润新知