vscode weapp api installs statistics
By coderfee (3 listings) · VS Code Marketplace · Snippets
Wechat app api snippets for vscode
vscode weapp api has 108,824 recorded installs on VS Code Marketplace, an increase of 0.1% over the past 30 days, ranking #2266 of 2,515 tracked listings.
Rating: 2.00 / 5 from 2 ratings
About vscode weapp api
微信小程序 API 代码片段
为 VSCode 提供微信小程序 API 提示及代码片段
安装
- 打开编辑器,
Ctrl + Shift + X,搜索 weapp-api - 点击
install
使用
小程序 API 提示
键入关键词 wx,就会出现提示,然后回车。关键词不区分大小写。

API 代码示例
-
wxapp
App({ onLaunch: function() { }, onShow: function() { }, onHide: function() { }, globalData: globalData }) -
wxpage
Page({ data: { }, onLoad: function(options) { //Do some initialize when page load. }, onReady: function() { //Do some when page ready. }, onShow: function() { //Do some when page show. }, onHide: function() { //Do some when page hide. }, onUnload: function() { //Do some when page unload. }, onPullDownRefresh: function() { //Do some when page pull down. } }) -
wxgetlocation
wx.getLocation({ type: 'wgs84', success: function(res) { var latitude = res.latitude var longitude = res.longitude }, }) -
wxrequest
wx.request({ url: '', header: { 'Content-Type': 'application/json' }, success: function(res) { } }) -
······more
app.json 配置提示
app.json 中请注意添加逗号。关键词只有 5 个:pages / window / tabbar / network / debug

app.json 代码示例
-
page
"pages": [ "pages/index/index", "add your pages path" ] -
window
"window": { "navigationBarBackgroundColor": "#000000", "navigationBarTextStyle": "white", "navigationBarTitleText": "Wechat", "backgroundColor": "#ffffff", "backgroundTextStyle": "dark", "enablePullDownRefresh": false } -
tabbar
"tabBar": { "color": "#cccccc", "selectedColor": "#000000", "backgroundColor": "#ffffff", "borderStyle": "black", // list中至少2个对象,最多5个对象 "list": [{ "pagePath": "pages/index/index", "text": "text", "iconPath": "iconPath", "selectedIconPath": "selectedIconPath" }] } -
network
"networkTimeOut": { "request": $1, "connectSocket": $2, "uploadFile": $3, "downloadFile": $4 } -
debug
"debug": trueEnjoy!
Description from the VS Code Marketplace listing.
- snippet
- weapp
- weixin
- 微信api
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
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
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)Similar VS Code Marketplace Snippets plugins
All 20 vscode weapp api alternativesData 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=coderfee.vscode-weapp-api. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.