Micro-credit program download tools and debugging detailed _ related skills

Source: Internet
Author: User
Tags current time define function

Late yesterday, the Micro-trust team released the Micro-trust program developer tools, micro-letter applet development documentation and micro-letter Programming Guide, a new developer tools, integrated development debugging, code editing and program release functions, to help developers simple and efficient development of micro-trust applet. The following is an official document containing the Applet developer tool download address and debugging guide.

Download Address: Developer Tools 0.9.092300 version
Windows 64 version; Windows 32; Mac Edition

To help developers develop micro-credit programs in a simple and efficient way, we have introduced a new developer tool that integrates development debugging, code editing, and program publishing.

Devtools

Scan Code Login

When the tool is started, the developer needs to use the micro-signal that has been successfully bundled in the background to scan the two-dimensional code to log in, and all subsequent operations will be based on this micro-letter account

Program debugging has three main functional areas: simulator, Debugging tools and small program operation area

Analog device

Simulation of the Micro-trust program in the client real logical performance, for most of the API can be in the simulator to show the correct state.

Emulat

Debugging Tools

The debugging tools are divided into 6 functional modules: Wxml, Console, Sources, network, AppData, storage, and

3Wxml Pannel

Wxml Pannel is used to help developers develop wxml transformed interfaces. Here you can see the real page structure as well as the structure of the corresponding WXSS properties, and can modify the corresponding WXSS properties, in the simulator to see the changes in real time. By debugging the selector in the upper-left corner of the module, you can quickly find the Wxml code for the component in the page.

Wxml
Sources Pannel

Sources Pannel is used to display script files for the current project, unlike browser development, the Micro-trust applet framework compiles script files, so the files that developers see in Sources Pannel are processed script files, and developers ' code is wrapped in Define function, and for Page code, there will be require active calls at the tail.

Sources
Network Pannel

Netwrok Pannle for viewing and displaying requests and sockets

Network
AppData Pannel

AppData Pannel is used to display the current project at the current time AppData specific data, real-time feedback project data, you can edit the data here, and timely feedback to the interface.

AppData
Storage Pannel

Storage Pannel is used to display data storage after the use of the current project Wx.setstorage or Wx.setstoragesync.

Storage
Console Pannel

The Console Pannel has two main features:

Developers can enter and debug code here

Console

The error output of the applet, which is displayed here

4 Small Program Operation area

The small program operation area helps the developer simulate some client's environment operation. For example, when a user returns to the Chat window in a small program, it triggers a applet that is set to the background API.

5 When the small program to use multiple windows, you can in the top operation area for page switching, it is necessary to note that this operation is only to facilitate the existence of developers, in the real micro-letter client is not there.

The editing area can write code for the current project, and you can make basic additions, deletions, and renames to the file.

Tool currently offers 4 kinds of files for editing: Wxml WXSS JS JSON
Auto-complement

Like most editors, we provide a complete automatic complement

Common shortcut keys

Format adjustment

Ctrl+s: Saving files
ctrl+[, CTRL +]: Code line indent
ctrl+shift+[, ctrl+shift+]: Collapse Open code block
CTRL + C CTRL + V: Copy and paste, copy and paste one row if no text is selected
Shift+alt+f: Code formatting
Alt+up,alt+down: Move one line up and down
Shift+alt+up,shift+alt+down: Copy line up down
Ctrl+shift+enter: Inserts a row above the current line

Cursor related

Ctrl+end: Moving to end of file
Ctrl+home: Moving to the beginning of a file
Ctrl+i: Select when to move forward
Shift+end: Select from cursor to line end
Shift+home: Select from beginning to Cursor
Ctrl+shift+l: Select all matches
Ctrl+d: Select Match
Ctrl+u: Cursor Fallback

The project directory shows some details of the current project, including icons, AppID, directory information, and so on.

Click the preview function, the tool will automatically compile and build code, and generate code packets uploaded to the micro-trust server, the success will display a two-dimensional code, the developer with a new version of micro-letter scanning two-dimensional code can be seen on the phone the actual performance of the project

It should be noted that the beta phase, the Code upload function only the administrator micro-signal can operate.

The above is the micro-letter applet download tool debugging data collation, follow-up supplementary related information, thank you for your support!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.