Skip to content

wangxin-trec/web-editor

 
 

Repository files navigation

WEditor

image image image

中文文档

This project is subproject for smart phone test framework openatx for easily use web browser to edit UI scripts.

Screenshot

screenshot

Installation

Dependencies

Only tested in Google Chrome, IE seems not working well.

pip3 install -U weditor

For developers

git clone https://github.com/openatx/weditor
pip3 install -e weditor

Usage

Create Shortcut in Desktop (Only windows)

weditor --shortcut

By click shortcut or run in command line

weditor

This command will start a local server with port 17310, and then open a browser tab for you to editor you code.

Port 17310 is to memorize the created day -- 2017/03/10

To see more usage run weditor -h

Hotkeys(Both Mac and Win)

  • Right click screen: Dump Hierarchy

Hotkeys(only Mac)

  • Command+Enter: Run the whole code
  • Command+Shift+Enter: Run selected code or current line if not selected

Hotkeys(only Win)

  • Ctrl+Enter: Run the whole code
  • Ctrl+Shift+Enter: Run selected code or current line if not selected

For Developers

See DEVELOP.md

LICENSE

MIT

About

web editor for atx

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 88.8%
  • CSS 5.9%
  • Python 3.0%
  • HTML 1.2%
  • Roff 1.1%