/vscode-m5stack-mpy

A extension to mange files for M5Stack micropython system

Primary LanguageTypeScriptMIT LicenseMIT

Bug fix - curdeveryday#45

Build and deploy.

git clean -fdX
yarn cache clean
yarn
npm install -g vsce
vsce package
code --install-extension vscode-m5stack-mpy-1.1.10.vsix 

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.

Contributions

To verify changes of this plugin you build the plugin with

git clean -fdX
yarn cache clean
yarn

Then you start vscode with this directory as argument like this

code ./

Then you hit F5 and verify that it works. See more on https://code.visualstudio.com/api