Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-m5stack-mpyNew to Visual Studio Code? Get it now.

vscode-m5stack-mpy

curdeveryday

|
6,199 installs
| (4) | Free
A extension for M5Stack Micropython system.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-m5stack-mpy

A extension for M5Stack Micropython system.

Features

  • Write/Read files in M5Stack Device
  • Syntax-highlighting
  • Snippet
  • Auto Completion
  • Debugging

Quick Start

  • Install vscode-m5stack-mpy.
  • Set M5Stack(UIFlow) in USB Mode.

screenshot

  • Click "Add M5Stack device" and select the correct serial port of M5Stack.

screenshot

screenshot

  • Open M5Stack file tree. If Device resets, please click the refresh button to reopen the file tree.

screenshot

  • Editor a file.

screenshot

  • Run in M5Stack.

screenshot

  • Save file. You can press ctrl + s or click File->Save to save file.

screenshot

Uncompleted

  • Auto Completion of Units and Modules.
  • Display tips when hover on it.

Development Notes

  • When VSCode updates electron version, it should rebuild the serialport module in /node_modules/@serialport/bingdings and /node_modules/usb-detection. Move the new bingding.node and detection.node in /node_modules/usb-native/native.
node-gyp rebuild --target=${ELECTRON_VERSION} --arch=x64 --dist-url=https://atom.io/download/electron
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2019 Microsoft