GithubHelp home page GithubHelp logo

adasdasdadweq / auto.js-vscode-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snailuncle/auto.js-vscode-extension

0.0 0.0 0.0 9 KB

A simple development plugin for Auto.js.

TypeScript 100.00%

auto.js-vscode-extension's Introduction

Auto.js-VSCodeExt README

桌面编辑器Visual Studio Code的插件。可以让Visual Studio Code支持Auto.js开发。

Install

在VS Code中菜单"查看"->"扩展"->输入"Auto.js"或"hyb1996"搜索,即可看到"Auto.js-VSCodeExt"插件,安装即可。插件的更新也可以在这里更新。

Features

目前功能比较基础,仅支持:

  • 在VS Code的开发者工具实时显示Auto.js的日志与输出
  • 在VS Code命令中增加Run, Stop, Rerun, Stop all等选项。可以在手机与电脑连接后把Sublime编辑器中的脚本推送到AutoJs中执行,或者停止AutoJs中运行的脚本。

Usage

Ctrl+Shift+P 或点击"查看"->"命令面板"可调出命令面包,输入 Auto.js 可以看到几个命令:

  • Start Server: 启动插件服务。之后在确保手机和电脑在同一区域网的情况下,在Auto.js的侧拉菜单中使用连接电脑功能连接。
  • Stop Server: 停止插件服务。
  • Run 运行当前编辑器的脚本。如果有多个设备连接,则在所有设备运行。
  • Rerun 停止当前文件对应的脚本并重新运行。如果有多个设备连接,则在所有设备重新运行。
  • Stop 停止当前文件对应的脚本。如果有多个设备连接,则在所有设备停止。
  • StopAll 停止所有正在运行的脚本。如果有多个设备连接,则在所有设备运行所有脚本。
  • Save 保存当前文件到手机的脚本默认目录(文件名会加上前缀remote)。如果有多个设备连接,则在所有设备保存。
  • RunOnDevice: 弹出设备菜单并在指定设备运行脚本。
  • SaveToDevice: 弹出设备菜单并在指定设备保存脚本。

以上命令一些有对应的快捷键,参照命令后面的说明即可。

Log

要显示来自Auto.js的日志,打开 VS Code上面菜单的"帮助"->"切换开发人员工具"->"Console"即可。

Release Notes

0.0.1

首次发布。包含以下特性:

  • 启动,停止服务
  • 显示Auto.js的日志
  • 运行,停止,重新运行脚本
  • 多设备连接支持,允许在运行时选择要运行的设备

0.0.2

增加以下特性:

  • 脚本保存到设备

For more information

Enjoy!

auto.js-vscode-extension's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.