Flash builder code formatting and other shortcut keys

Source: Internet
Author: User

Starting today, I decided to use flash builder to eliminate Flash CS 4/5. I just changed it and felt a little uncomfortable. Baidu + checked the help and found several useful shortcut keys:

 

1.CodeFormat: select the code segment to be formatted, and press Ctrl + I (Note: This is a built-in flash builder, but it is not very functional. You can only perform automatic formatting on tab indentation. You need to have stronger code formatting, you can search for a formatting plug-in on Baidu and decompress it to the plugin directory)

2. Code comments/comments: select the code segment to be commented out or reversed, and then Ctrl +/

3. Add the comment block before the method: Ctrl + Shift + d

 

Postscript:

Summary: three mainstream flash development tools

Flash cs5:Although the Code prompt function has been improved a lot (it is recommended to install the English version, the Chinese version of the code automatically prompts a problem), butProgramIt is still a little weak. Its strength lies in its convenient design on a visual interface.

Flash builder:FB for short, an official Adobe programming artifact! It is also the most suitable for programmers. It has powerful code prompts, project management functions (SVN supported), and breakpoint debugging. The disadvantage lies in paid software!

Flashdevelop:FD is said to use C #. NET 2.0 is a free as development tool with powerful functions. The only disadvantage is that it cannot be used for breakpoint debugging (however, this is not a big problem for programmers who like to use trace for debugging ), the key is that it is free. After flash develop is installed, configure the path of the Flex SDK and Flash Player debug version (for details, see flashdevelop platform-Build-configuration)

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.