11
FlashDevelop presentation Raimundas Banevicius 2012.07 fastest AS3 editing tool for windows http://www.flashdevelop.org

Flash develop presentation

Embed Size (px)

DESCRIPTION

Presentation of fastest AS3 code editor for windows.

Citation preview

Page 1: Flash develop presentation

FlashDeveloppresentationRaimundas Banevicius 2012.07

fastest AS3 editing tool for windows

http://www.flashdevelop.org

Page 2: Flash develop presentation

About FlashDevelopPROS:● 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.

Page 3: Flash develop presentation

Project, file generatorsGenerates 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)

Page 4: Flash develop presentation

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

Page 5: Flash develop presentation

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

Page 6: Flash develop presentation

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)

Page 7: Flash develop presentation

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. :(

Page 8: Flash develop presentation

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

Page 10: Flash develop presentation

Nice shortcutstype snippet or code(for, if...) + TAB = triggers generation or autocompletion

CTRL + SHIFT + 1 = generate stuffCTRL + SHIFT + 2 = format code

SHIFT+SPACE = trigger completionCTRL + ALT + SPACE = trigger CLASS completionSHIFT+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 syntaxF8 = BUILDCTRL + ENTER = build and RUN

Page 11: Flash develop presentation

my settingsFlashDevelop(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...