Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use the Flex Code formatting tool

Shulou Source: shulou.com Published: 2022-06-02 08:03:58 11月15日 Update

Editor to share with you how to use Flex code formatting tools, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Flex code formatting

When doing Flex coding, adjusting the coding format is very troublesome, especially sometimes copying the code from other documents, the format display is confused, manual adjustment is very troublesome, with FlexPrettyPrint, you can solve this headache problem for everyone, so that your code can instantly become scattered and orderly.

= FlexPrettyPrint installation =

1. Open FlexBuilder- > Help- > SoftwareUpdates- > FindandInstall

two。 Select Searchfornewfeaturestoinstall

3. Establish NewRemoteSite

URL: http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite

Save-> finish

4. Restart FlexBuilder. At this point, the Flex code formatting tool is installed.

= FlexPrettyPrint setting and use =

1. Open Windows- > Preference- > FlexFormatting and "don't explain" exactly how to set it =)

two。 At this time the Toolbar will appear several new buttons, Copy a disorderly format of the code to come in, click the "FormatFlexCode" button, beautiful format instantly displayed in front of us.

3. By the way, ASDocGenearation can also help you automatically generate comments for ActionScript files.

The above is all the contents of the article "how to use the Flex Code formatting tool". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Formatting code tools articles content buttons coding help adjustment headaches order clutter beauty chaos disorder not much head most manual files Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Linux NVidia Shulou Tech Info Shulou Technology