Features:Completion
From FlashDevelop
(Difference between revisions)
(8 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
| [[Features:Exploration|SWF/SWC exploration]] | | [[Features:Exploration|SWF/SWC exploration]] | ||
| [[Features:Documentation|Code documentation]] | | [[Features:Documentation|Code documentation]] | ||
- | |||
== 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 === | ||
{| | {| | ||
- | | | + | | http://flashdevelop.org/wikidocs/images/tour/mini/1d-smart-completion.gif |
|valign=top| | |valign=top| | ||
* FlashDevelop's code completion works with your and others classes. | * FlashDevelop's code completion works with your and others classes. | ||
Line 16: | Line 22: | ||
* See how the list tips are filled with information extracted from the code comments. | * See how the list tips are filled with information extracted from the code comments. | ||
|} | |} | ||
+ | |||
{| | {| | ||
- | | | + | | http://flashdevelop.org/wikidocs/images/tour/mini/1e-all-types-completion.gif |
|valign=top| | |valign=top| | ||
* FlashDevelop knows all your project classes, | * FlashDevelop knows all your project classes, | ||
* so just let FlashDevelop automatically import them for you. | * so just let FlashDevelop automatically import them for you. | ||
+ | |} | ||
+ | |||
+ | {| | ||
+ | | http://flashdevelop.org/wikidocs/images/tour/mini/1f-smart-event-completion.gif | ||
+ | |valign=top| | ||
+ | * 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 === | === Typed Array/Vector code completion === | ||
+ | {| | ||
+ | | http://flashdevelop.org/wikidocs/images/tour/mini/1g-vector-completion.gif | ||
+ | |valign=top| | ||
+ | * FlashDevelop was the first ActionScript editor with Vector types code completion. | ||
+ | * FlashDevelop supports "Strictly typed Arrays" code completion as introduced by [http://mtasc.org mtasc] (available in AS2, AS3) | ||
+ | |} | ||
+ | |||
+ | === Smart Proxy typing === | ||
{| | {| | ||
| | | | ||
- | + | dynamic class MCProxy | |
- | var | + | extends /*MovieClip*/Proxy {...} |
- | + | ... | |
- | + | var mc:MCProxy; | |
+ | mc. //completes as MovieClip | ||
|valign=top| | |valign=top| | ||
- | * | + | * FlashDevelop offers a very smart code completion for Proxy classes - use them as easily as the "proxied" type. |
- | + | ||
|} | |} | ||
=== Rich code completion === | === Rich code completion === | ||
{| | {| | ||
- | | | + | | http://flashdevelop.org/wikidocs/images/tour/mini/1a-rich-completion.gif |
|valign=top| | |valign=top| | ||
* 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. | * 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. | ||
Line 50: | Line 72: | ||
|} | |} | ||
{| | {| | ||
- | | | + | | http://flashdevelop.org/wikidocs/images/tour/mini/1b-very-rich-completion.gif |
|valign=top| | |valign=top| | ||
* 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! | ||
Line 57: | Line 79: | ||
=== Mouse hover for information === | === Mouse hover for information === | ||
{| | {| | ||
- | | | + | | http://flashdevelop.org/wikidocs/images/tour/mini/1c-mouse-hover.gif |
|valign=top| | |valign=top| | ||
* 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. |
Latest revision as of 10:38, 7 July 2011
Contents |
Features Tour
Interface | Code completion | Code generation | SWF/SWC exploration | Code documentation
Helpers
Shortcuts
- Ctrl+Space - regular completion list
- Ctrl+Alt+Space - show all project types
- Ctrl+Shift+Space - method call tip
Smart code completion
![]() |
|
![]() |
|
![]() |
|
Typed Array/Vector code completion
![]() |
|
Smart Proxy typing
dynamic class MCProxy extends /*MovieClip*/Proxy {...} ... var mc:MCProxy; mc. //completes as MovieClip |
|
Rich code completion
![]() |
/** * Javadoc standart comment block */ <your declaration here> /// custom "3 slashes" line comments <your declaration here> |
![]() |
|
Mouse hover for information
![]() |
|
More?
See Code generation