Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>WXML Language FeaturesNew to Visual Studio Code? Get it now.
WXML Language Features

WXML Language Features

Dyy

|
2,050 installs
| (1) | Free
Language Support for Wxml
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WXML Language Features

让Vscode 提供微信原生小程序代码补全、语法高亮、项目模版等功能

代码补全

需要提前安装开发依赖

npm i miniprogram-api-typings -D

配置 jsconfig.json 或 tsconfig.json

{
  "compilerOptions": {
    "baseUrl": ".",
    "module": "CommonJS",
    "types": ["miniprogram-api-typings"],
  },
  "include": ["**/*.wxml"] // TODO 需要添加这个,可以增加wxml代码补全
}

代码补全与语法高亮

  • 支持 WXML 中组件的代码补全
  • 支持快速创建 Page 及 Component

🙌 反馈与贡献

感谢Volar.js开源, 让语言开发变的更简单

如有建议、问题或功能需求,欢迎通过 30896355@qq.com 发送邮件。

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft