Skip to content

Coding Conventions

Lloyd Heberlie edited this page Mar 7, 2013 · 4 revisions

Configuring Adobe® Flash® Builder® to support coding standards to match the arcgis-viewer-flex repo

These instructions will help you setup how whitespace characters are handled in Flash Builder and to use a code formatting plugin called FlexFormatter. Following these coding conventions will match those already used in the Flex Viewer source code (spaces instead of tabs, proper indentation) and will help ensure that the code you contribute will match that which is already in the arcgis-viewer-flex repository.

Features

  • Increased readability of source code.
  • Auto formatting and indenting code upon saving.
  • Keeps your code structured without you having to format your own code.
  • If you are going to contribute to the arcgis-viewer-flex repo you will need to implement these standards.
  • Reduces merge conflicts when submitting a pull request.

Instructions

Resources