Features:Completion

From FlashDevelop

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision not shown)
Line 7: Line 7:
== Helpers ==
== Helpers ==
 +
=== Shortcuts ===
 +
 +
* '''Ctrl+Space''' - regular completion list
 +
* '''Ctrl+Alt+Space''' - show all project types
 +
* '''Ctrl+Shift+Space''' - method call tip
 +
 +
=== Smart code completion ===
=== Smart code completion ===
{|  
{|  
Line 29: Line 36:
* And the appropriate Event class will automatically be imported.
* And the appropriate Event class will automatically be imported.
|}
|}
-
 
=== Typed Array/Vector code completion ===
=== Typed Array/Vector code completion ===
Line 38: Line 44:
* FlashDevelop supports "Strictly typed Arrays" code completion as introduced by [http://mtasc.org mtasc] (available in AS2, AS3)
* FlashDevelop supports "Strictly typed Arrays" code completion as introduced by [http://mtasc.org mtasc] (available in AS2, AS3)
|}
|}
-
 
=== Smart Proxy typing ===
=== Smart Proxy typing ===
Line 51: Line 56:
* FlashDevelop offers a very smart code completion for Proxy classes - use them as easily as the "proxied" type.
* FlashDevelop offers a very smart code completion for Proxy classes - use them as easily as the "proxied" type.
|}
|}
-
 
=== Rich code completion ===
=== Rich code completion ===
Line 72: Line 76:
* If the code extracts are not enough, '''press F1''' to get the complete comments from the original code!
* If the code extracts are not enough, '''press F1''' to get the complete comments from the original code!
|}
|}
-
 
=== Mouse hover for information ===
=== Mouse hover for information ===
Line 80: Line 83:
* Move your mouse over anything in your code to see it's type and declaration location.
* Move your mouse over anything in your code to see it's type and declaration location.
|}
|}
-
 
=== More? ===
=== More? ===
See [[Features:Generation|Code generation]]
See [[Features:Generation|Code generation]]

Latest revision as of 10:38, 7 July 2011

Contents

Features Tour

Interface | Code completion | Code generation | SWF/SWC exploration | Code documentation

Helpers

Shortcuts


Smart code completion

1d-smart-completion.gif
  • FlashDevelop's code completion works with your and others classes.
  • Press Tab to expand usual code snippets (function, get/set, for, while, if,...).
  • See how the list tips are filled with information extracted from the code comments.
1e-all-types-completion.gif
  • FlashDevelop knows all your project classes,
  • so just let FlashDevelop automatically import them for you.
1f-smart-event-completion.gif
  • FlashDevelop completes the events that the object actually dispatches (as declared in the class metadatas).
  • And the appropriate Event class will automatically be imported.

Typed Array/Vector code completion

1g-vector-completion.gif
  • FlashDevelop was the first ActionScript editor with Vector types code completion.
  • FlashDevelop supports "Strictly typed Arrays" code completion as introduced by mtasc (available in AS2, AS3)

Smart Proxy typing

 dynamic class MCProxy 
         extends /*MovieClip*/Proxy {...}  
 ...
 var mc:MCProxy;
 mc. //completes as MovieClip
  • FlashDevelop offers a very smart code completion for Proxy classes - use them as easily as the "proxied" type.

Rich code completion

1a-rich-completion.gif
  • FlashDevelop has a rich code completion - the code call-tips show you the methods parameters and event extracts information from the original code's documentation.
  • Recognized code comments syntax:
 /**
  * Javadoc standart comment block
  */
 <your declaration here>
 
 /// custom "3 slashes" line comments
 <your declaration here>
1b-very-rich-completion.gif
  • If the code extracts are not enough, press F1 to get the complete comments from the original code!

Mouse hover for information

1c-mouse-hover.gif
  • Move your mouse over anything in your code to see it's type and declaration location.

More?

See Code generation

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox