vsxxxx Avalon 感知提示

Posted 鞍山老菜鸟

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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" />

 

以上是关于vsxxxx Avalon 感知提示的主要内容,如果未能解决你的问题,请参考以下文章

如何设置 vscode 的代码片段,以便在自动完成后自动触发 vscode 的智能感知?

avalon自定义指令 图片缓存

avalon数组特性

vs code 自定义代码片段

markdown 打字稿...编码说明,提示,作弊,指南,代码片段和教程文章

avalon子孙元素属性监听