1 Star 0 Fork 0

Juwan / vscode-mpfshell

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Mpfshell extension for Visual Studio Code

                     See this mpfshell.

features

  1. Based on the mpfshell-lite.

  2. Start your Python and MicroPython programming anytime, anywhere.

  3. Right - click shortcuts to control your board.

Quick start

In the terminal input mpfs into the following mode shows you already installed.

readme/ready

All functions menu

readme/list

Useful commands

Open the Command Palette (Command+Shift+P on macOS and Ctrl+Shift+P on Windows/Linux) and type in one of the following commands:

Command Description
Set Open args Set args of the Open, save configuration file.
Start REPL directly into your MicroPython REPL.
Run this file Run the code file you specify.
Open Tools directly into mpfshell equivalent.

To see all available Python commands, open the Command Palette and type mpfshell.

How to execute xx.py ?

To execute a xx.py file, you need to right-click and select Run this file.

The terminal will be the following result.

readme/runfile

such as mpfs > runfile ts.py.

How to config open args

readme/open_args

in workspace

It will generate settings.json

readme/result

{
    "mpfshell.open": ""
}

This is actually the open argument to the mpfshell.

You can change it if your Want to use webrepl.

{
    "mpfshell.open": "ws:192.168.1.1,1234" // mpfs > open ws:192.168.1.1,1234.
}

in folder

readme/settings

It will be saved in the workspace configuration, and each run this code will be asked Set open args if value is default or auto judge.

Supported locales

Near future.

空文件

简介

Mpfshell extension for Visual Studio Code. 展开 收起
TypeScript
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/junhuanchen/vscode-mpfshell.git
git@gitee.com:junhuanchen/vscode-mpfshell.git
junhuanchen
vscode-mpfshell
vscode-mpfshell
master

搜索帮助