# Code completion for MicroPython
**Repository Path**: walkline/code-completion-for-micropython
## Basic Information
- **Project Name**: Code completion for MicroPython
- **Description**: 为 VSCode 提供 MicroPython 类库的代码补全功能
- **Primary Language**: TypeScript
- **License**: MIT
- **Default Branch**: main
- **Homepage**: https://marketplace.visualstudio.com/items?itemName=WalklineWang.code-completion-for-micropython&ssr=false
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2024-06-15
- **Last Updated**: 2025-02-01
## Categories & Tags
**Categories**: Uncategorized
**Tags**: MicroPython, VSCode, 自动补全, 代码提示
## README
Code Completion for MicroPython

[Instructions for use (English)](https://github.com/Walkline80/Code-Completion-for-MicroPython/blob/main/README.en-us.md)
**Code Completion for MicroPython** 扩展程序用于为 VSCode 提供 MicroPython 类库代码补全功能。


## 使用方法
使用快捷键 F1 打开命令面板,输入 `MicroPython`,然后:
* 选择 `MicroPython: 启用代码补全功能` 启用扩展
* 选择 `MicroPython: 禁用代码补全功能` 禁用扩展
* 选择 `MicroPython: 多语言文档支持` 启用/禁用多语言文档内容提示
> 目前仅支持英文和简体中文。
## 类库列表
类库列表包含了 MicroPython 官方提供的类库,以及从互联网获取的一些有用的类库。
> MicroPython 官方类库列表来自固件文件 `MicroPython v1.24.0-preview.23 on 2024-06-05; ESP32C3 module with ESP32C3`
### MicroPython 官方类库
已完成的类库
- [x] array
- [x] asyncio
- [x] binascii
- [x] bluetooth
- [x] btree
- [x] cmath
- [x] collections
- [x] cryptolib
- [x] deflate
- [x] dht
- [x] ds18x20
- [x] errno
- [x] esp
- [x] esp32
- [x] framebuf
- [x] gc
- [x] hashlib
- [x] heapq
- [x] json
- [x] machine
- [x] math
- [x] micropython
- [x] mip
- [x] neopixel
- [x] network
- [x] ntptime
- [x] platform
- [x] onewire
- [x] os
- [x] random
- [x] re
- [x] requests
- [x] select
- [x] socket
- [x] ssl
- [x] struct
- [x] sys
- [x] time
- [x] uasyncio
- [x] uctypes
- [x] umqtt/robust
- [x] umqtt/simple
未完成的类库
- [ ] _thread
- [ ] aioespnow
- [ ] apa106
- [ ] espnow
- [ ] io
- [ ] tls
- [ ] vfs
- [ ] webrepl
- [ ] webrepl_setup
- [ ] websocket
### 其它类库
已完成的类库
- [x] button: [MicroPython 自定义按键驱动](https://gitee.com/walkline/micropython-drivers/blob/master/button.py)
- [x] ble_config: [MicroPython BLE 配网](https://gitee.com/walkline/micropython_ble_config)
- [x] dispatcher: [MicroPython Timer Dispatcher](https://gitee.com/walkline/micropython-timer-dispatcher)
- [x] MicroDNSSrv: [MicroDNSSrv](https://github.com/jczic/MicroDNSSrv)
- [x] MicroWebSrv: [MicroWebSrv](https://github.com/jczic/MicroWebSrv)
- [x] qrcode: [MicroPython QRCode CModule](https://gitee.com/walkline/micropython-qrcode-cmodule)
- [x] smartconfig: [esp32/modsmartconfig: Add smartconfig module](https://github.com/micropython/micropython/pull/13658)
未完成的类库
- [ ] MicroWebSrv2
- [ ] st7789
- [ ] wtools
### 多语言文档支持
已完成的类库
- [x] array
- [x] binascii
- [x] bluetooth
- [x] btree
- [x] cmath
- [x] collections
- [x] cryptolib
- [x] deflate
- [x] dht
- [x] ds18x20
- [x] esp
- [x] esp32
- [x] errno
- [x] framebuf
- [x] gc
- [x] hashlib
- [x] heapq
- [x] json
- [x] machine
- [x] math
- [x] micropython
- [x] mip
- [x] neopixel
- [x] network
- [x] ntptime
- [x] onewire
- [x] os
- [x] platform
- [x] random
- [x] re
- [x] requests
- [x] select
- [x] socket
- [x] struct
- [x] sys
- [x] time
- [x] uctypes
- [x] umqtt/robust
- [x] umqtt/simple
- [x] button: [MicroPython 自定义按键驱动](https://gitee.com/walkline/micropython-drivers/blob/master/button.py)
- [x] ble_config: [MicroPython BLE 配网](https://gitee.com/walkline/micropython_ble_config)
- [x] dispatcher: [MicroPython Timer Dispatcher](https://gitee.com/walkline/micropython-timer-dispatcher)
- [x] qrcode: [MicroPython QRCode CModule](https://gitee.com/walkline/micropython-qrcode-cmodule)
- [x] smartconfig: [esp32/modsmartconfig: Add smartconfig module](https://github.com/micropython/micropython/pull/13658)
未完成的类库
- [ ] asyncio
- [ ] ssl
- [ ] uasyncio
- [ ] MicroDNSSrv: [MicroDNSSrv](https://github.com/jczic/MicroDNSSrv)
- [ ] MicroWebSrv: [MicroWebSrv](https://github.com/jczic/MicroWebSrv)
## 项目主页
* [Gitee: Code completion for MicroPython](https://gitee.com/walkline/code-completion-for-micropython)
## 合作交流
* 联系邮箱:
* QQ 交流群:
* 走线物联:[163271910](https://jq.qq.com/?_wv=1027&k=xtPoHgwL)
* 扇贝物联:[31324057](https://jq.qq.com/?_wv=1027&k=yp4FrpWh)

