2. About FlashDevelop
PROS:
● Is is free.
● FlashDevelop is open source project. ( current version : v. 4.0.4)
● For AS3, HaXe. (many more : as2, python, xml, css, html, js, php, C#.. )
● Big and active community.
● Support many completion and generation features
● Supports code snippets and project templates
● Highly customizable, with lot of plugins
● very simple/fast/convenient panel and window docking interface.(.net lib)
● Application is fast and lightweight (30 mb)
http://www.flashdevelop.org/wikidocs/index.php?title=Features:Interface
CONS:
● For windows only.
● usable, but not that good with flex
● lacks 'live ' syntax error checking. (need to press F7)
● open source product - quality is good, but lower than perfect.
3. Project, file generators
Generates lot of various projects:
● Flash Ide
● AIR
● AS3
● Flex
● AIR mobile
● HaXe
● custom
Generates lot of generally used files:
● Class, Event, Interfaces...ETC. custom
● html, xml, css, etc...
you can customize files generated:
● add variables (system, environment, custom... etc.. )
● add dynamic variables(to pick value from a list, or just edit it)
4. Code completion rocks!
● Automatic after typing first 2 characters. (or CTRL + SPACE)
● Context hinting. (no need to start from... start!..)
● Compleats and imports classes
http://www.flashdevelop.org/wikidocs/index.php?title=Features:Completion
5. Code auto Generators
(CTRL+SHIFT + 1)
● missing import >> import
● local variable >>
○ to class
○ to function top
○ to function param
● over event handler >> generate handler
● over unknown name >> generate var or function
● over unknown object property >> generate var or function in that object
● over constant name >> generate constant
● over interface >> generate interface functions
● function parameter >> generate class member
● over local variable >> get/set function generation
● in class >> generate constructor, toString function
● over function/constructor >> update function parameters
● generates override functions
● /** > generates asDocs (with all needed details) (has tag completion)
http://www.flashdevelop.org/wikidocs/index.php?title=Features:Generation
6. Snippets
(Code block generators)
● Code block insertion
● Supports variables in snippets
(selection, custom system variables, environment vars and so on..)
● Supports dynamic variables
(Select value from list or enter new one)
7. Code refactoring
● variable, function rename.
● extract code block as function
● generate delegate function for private object
properties...
● surround code with...
● organize/truncate imports
● Class rename/move is missing. :(
8. Other features
● GIT, Mercurial integration.
○ Yes... SVN too... (but who in the right mind would use it unless forced
to...?)
● code debugger
● code formatter
● profiler (minimalistic)
● explores SWC/SWF files
● code bookmarks
● restores you work even if your PC crashes with unsaved files
● Extra tools:
● Documentation generation
● Analyze source code
● Shared object reader
9. Nice plugins
● Trace plugin
● Duplicate plugin
● Navigation Bar
● TraceUtil plugin
● Ant panel plugin
● The miner + FlashDevelop
Much more here: http://www.flashdevelop.org/wikidocs/index.php?
title=3rd_Party_Plugins_FD4
10. Nice shortcuts
type snippet or code(for, if...) + TAB = triggers generation or autocompletion
CTRL + SHIFT + 1 = generate stuff
CTRL + SHIFT + 2 = format code
SHIFT+SPACE = trigger completion
CTRL + ALT + SPACE = trigger CLASS completion
SHIFT+CTRL+SPACE = show doc
CTRL+ B = insert snippet
F3 = find next selected word (ShIFT + F3 = find previous)
F4 = to to object declaration (ShIFT + F4 = go back )
F7 = Check syntax
F8 = BUILD
CTRL + ENTER = build and RUN
11. my settings
FlashDevelop(MENU > Tools > Program settings (search for...)):
○ View Modified Lines > true
○ Automaticly reload Modified Files > true
○ Coding Style Type > BracesOnLine
○ Brace Style > OnLine
○ Don't indent Package Items > true
● Add button to kill all FlashPlayerDebugger.exe programs:
Add this to the end of ToolBar.xml file located in install dir:
<separator />
<button label="Kill FlashPlayer" click="RunProcess" tag="taskkill.exe;/f /t /im FlashPlayerDebugger.exe" image="153" />
● + Big pile of snippets, project and file templates...