Skip to content
PluginStats

WXML - Language Service installs statistics

By Mora Qiu · VS Code Marketplace · Programming Languages

WXML Language Support

View on VS Code Marketplace Fresh · Dec 6, 2026

WXML - Language Service has 658,491 recorded installs on VS Code Marketplace, an increase of 0.2% over the past 30 days, ranking #725 of 2,515 tracked listings.

Installs
658,491
Official API · Dec 6, 2026
7-day growth
+0.0%
+291 installs
30-day growth
+0.2%
+1.3K installs
90-day growth
—
Insufficient history
Rank
#725
Among tracked VS Code Marketplace listings

Rating: 5.00 / 5 from 19 ratings

About WXML - Language Service

<img align="right" width="90px" src="https://funimg.pddpic.com/mobile_piggy/0fe81c13-7691-49ae-bb6e-39586d58a1d7.png.slim.png" alt="wxml language features logo" />

WXML - Language Service

CI Status Deploy Status Visual Studio Marketplace Marketplace Downloads Marketplace Installs Marketplace Rating

最近更新 【CHANGELOG.md】

@iChenLei 已接手维护本插件,欢迎大家在钉钉群或者 Github issues 提意见。

主要功能

所有自动补全的模板数据都来自于官方文档,通过脚本自动获取的

<a id="create-component"></a>

一键创建小程序组件
  • 右键可以看到 New Miniprogram Component 选项,输入组件名即可一键创建 .wxml/.js/.wxss/.json 以及组件文件夹
  • 创建成功后自动打开 js 文件

示例图片

  • 创建组件支持配置 css/wxml/js 后缀,比如项目使用 less/vue/ts

示例图片

{
  "minapp-vscode.cssExtname": "less", // 默认 wxss,支持 styl sass scss less css
  "minapp-vscode.wxmlExtname": "vue", // 默认 wxml,支持 vue wpy
  "minapp-vscode.jsExtname": "ts" // 默认 js,支持 ts coffee
}

<a id="tag-and-attr"></a>

标签名与属性名自动补全
  • wxml 中需要输入 < 才会触发标签补全,而 pug 语言只需要写标签开头即能触发标签补全
  • 输入空格会触发对应标签的属性补全

示例图片

<a id="smart-attr"></a>

根据组件已有的属性,自动筛选出对应支持的属性集合
  • 当 picker 的 mode="selector" 时,有 range 和 range-key 的属性
  • 当 picker 的 mode="time" 时,有 start 和 end 的属性

示例图片

<a id="attr-value"></a>

属性值自动补全(有可选值的情况下才会触发补全)
  • 在属性值中输入空格可以触发,补全后自动会将空格覆盖

示例图片

<a id="attr-definition"></a>

点击模板文件中的函数或属性跳转到 js/ts 定义的地方(纯 wxml 或 pug 文件才支持,vue 文件不完全支持)

功能还不完善,只会查找和当前模板同名的脚本文件,所以有可能会找不到 JS 中的定义

示例图片

<a id="attr-class-value"></a>

样式名自动补全(纯 wxml 或 pug 文件才支持,vue 文件不完全支持)

系统会自动获取和当前模板同名的样式文件中的所有样式名,同时还能获取样式名上的 /** */ 中的文档;如果有全局的样式,需要通过配置项 minapp-vscode.globalStyleFiles 来指定。

  • 默认会获取和当前模板同名的样式文件中的名称

    注意:如果样式文件是 @import 了另一个样式文件,则程序不会去获取这个引入的文件中的样式名

  • 另外可以使用 minapp-vscode.globalStyleFiles 来指定一些全局的样式文件,这样在输入 class="" 后就也会出现这些文件中的样式名

    小程序的 app.wxss 一般是全局的样式,所以需要你手动通过此配置来指定,如配置 minapp-vscode.globalStyleFiles: ["src/app.wxss"]

  • 另外也可以使用 minapp-vscode.styleExtensions 来指定系统使用的样式文件的后缀

    建议配置此项,系统默认会查找各种后缀的样式文件,为避免不必要的性能损耗,最好配置成项目中使用的后缀!

注意:不支持 sass 这种缩进排版的样式文件

示例图片

<a id="vue"></a>

在 vue 模板文件中也能自动补全,同时支持 pug 语言

vue 中的 template 板支持两个属性:

  1. lang 可以设置为 "wxml" 或 "pug",表示使用的语言(在类 vue 框架中指定 lang 属性可能会导致编译报错,你可以使用 xlang 替代,但这样会同时出现 vue 和 minapp 的补全)
  2. minapp 可以设置为 "native", "wepy","mpx" 或 "mpvue",表示使用的框架,默认为 "mpvue"

如:

  • <template lang="wxml" minapp="native"> 表示使用 wxml 语言,不使用任何框架
  • <template lang="pug" minapp="mpvue"> 表示使用 pug 语言,并使用 mpvue 框架

注意,mpvue 中指定 lang="wxml" 会报错,需要等待作者修复!不过 你可以临时使用 xlang="wxml",但这样同时也会触发 vue 的自动补全

指定为不同的 minapp 值会触发对应框架的自动补全,由于本人没有使用 wepy 和 mpvue 开发过,所以这些自动补全是根据官方文档说明而加上的,如果有错误,欢迎 PR(只需要修改文件 src/plugin/lib/language.ts)

示例图片

<a id="link"></a>

支持 link(纯 wxml 或 pug 文件才支持,vue 文件不支持)
  • 默认只会 link src 标签,并且文件需要存在,不存在不会加 link
  • 可以配置 minapp-vscode.linkAttributeNames 来扩展额外的支持 link 的标签,将此值配置成空数组,可以禁用 link 功能
  • 可以配置 minapp-vscode.resolveRoots 来使用相对目录解析图片路径

示例图片

<a id="custom-component"></a>

自定义组件自动补全(纯 wxml 文件才支持,vue 或 pug 文件不支持)
  • 自动获取对应 json 文件中的组件信息
  • 优先提示自定义组件
  • 自动获取组件中属性的描述

示例图片

<a id="highlight"></a>

模板文件中 js 变量高亮(纯 wxml 或 pug 文件才支持,vue 文件不支持)
  • 默认关闭高亮,可以配置 minapp-vscode.disableDecorate 为 true 来开启高亮
  • 默认高亮颜色使用紫色,可以配置 minapp-vscode.decorateType 来使用你喜欢的颜色,如 {"color": "red"}
  • 默认会将 "{{" 与 "}}" 之间的所有字符都高亮,可以配置 minapp-vscode.decorateComplexInterpolation 为 false,这样只有变量(如:foo, foo.prop, foo[1])会高亮,而表达式(如:foo + bar, foo < 3)不会高亮,而使用原本的颜色…

Description from the VS Code Marketplace listing.

  • minapp
  • vue
  • wechat
  • wexin
  • wxml
  • wxml-pug
  • wxs
  • wxss
  • 小程序
  • 微信

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

WXML - Language Service installs on VS Code Marketplace, last 90 days: 658,491 installs as of Dec 6, 2026.WXML - Language ServiceInstalls on VS Code Marketplace · Last 90 days658,491installs656K656.5K657K657.5K658K658.5KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
WXML - Language Service installs on VS Code Marketplace, last 90 days: 658,491 installs as of Dec 6, 2026.

7/30/90-day growth

WXML - Language Service installs growth on VS Code Marketplace: +0.0% over 7 days, +0.2% over 30 days, 90-day growth unavailable.WXML - Language ServiceInstalls growth on VS Code Marketplace658,491installs now7-day growth+291 installs+0.0%30-day growth+1,301 installs+0.2%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
WXML - Language Service installs growth on VS Code Marketplace: +0.0% over 7 days, +0.2% over 30 days, 90-day growth unavailable.

Ranking history

WXML - Language Service VS Code Marketplace ranking history: currently #725 (by installs).WXML - Language ServiceVS Code Marketplace ranking · by installs · Last 90 days#725current rank#722#723#724#725#726#727Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
WXML - Language Service VS Code Marketplace ranking history: currently #725 (by installs).

Ratings over time

WXML - Language Service ratings on VS Code Marketplace, last 90 days: 19 ratings as of Dec 6, 2026.WXML - Language ServiceRatings on VS Code Marketplace · Last 90 days19ratings1718192021Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
WXML - Language Service ratings on VS Code Marketplace, last 90 days: 19 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 37, #8 (overall #728)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages795 listings · 40 pages · page 14, #20 (overall #280)
Programming Languages: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (50)
Recent installs observations for WXML - Language Service
Date (UTC)InstallsChange vs. previous
658,491+39
658,452+30
658,422+53
658,369+29
658,340+63
658,277+49
658,228+28
658,200+15
658,185+58
658,127+44
658,083+38
658,045+46
657,999+62
657,937—

Similar VS Code Marketplace Programming Languages plugins

All 20 WXML - Language Service alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=qiu8310.minapp-vscode. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.