adb extension of vscode for RT-Thread IoT board
This extension can help us to achieve adb connect device, reset device, run shell command, synchronize file to device, download env, and customize env path, sync file path and status bar by setting.Json. Interfacing makes functionality easier.
Features
- Interfacial operation,simple and convenient
- The status bar theme and file path are customizable
- Download env with one click and configure the env path automatically
- Open terminal to run the shell command automatically
- Synchronize files to connected devices with one key
It looks like:
Usage
- The adb action
- Connect the device and click the adb function button( if env is not configured, it will be prompted to download or configure the env path ),if the device is not connected, the device can be connected through the input IP
- Open terminal,shell commands can be run automatically,to communication with equipment
- The reset function resets the device
- The Settings function can open vscode user Settings and modify the configuration
- Sync file action
- Open Settings to configure the local path and remote paths,the default path for the local is /test,the default path for the remote is /scripts
- Click sync file button to synchronize local and device files
Extension Settings
{
"adb.remotePath": "/scripts",
"adb.localPath": "/test",
"adb.rtEnvPath": "",
"adb.syncButton": [
{
"text": "$(broadcast)",
"tooltip": "Sync files",
"alignment": "left",
"command": "extension.adbPush",
"priority": 4
}
],
"adb.actionButton": [
{
"text": "$(database) $(triangle-down)",
"tooltip": "ADB action",
"alignment": "left",
"command": "extension.adbAction",
"priority": 4.5
}
]
}
Major Release Notes
version 0.0.1
warm prompt
If the installation fails, please update the vscode version.