SlideShare ist ein Scribd-Unternehmen logo
1 von 20
COC 风味的  Flash Builder  代码生成脚本   Yi’s Eclipse Monkey Scripts  for Flash Builder Convention Generator By Yi Tan [email_address]
[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],1 2 3 将 .js 文件放置到“ scripts”  子目录中 Put .js file to “scripts” sub folder 然后菜单条中即会出现此命令 Then the command should be available in the menu
你输入 you  type: propertyName:Number 快捷键 : Alt + 1 Shortcut Key: Alt+1
会变成 it  becomes: public   var  propertyName:Number;
propertyName: n o : Object s : String b : Boolean a : Array n : Number i : int u : uint v : Vector x : XML 使用数据类型缩写更方便 Use abbreviation for data type declaration 你输入 you  type:
public   var  propertyName:Number; 会变成 it  becomes:
- propertyName:n 访问控制器用符号表示 Handy marks for access control +: public -: private *: protected 你输入 you  type:
private   var  propertyName:Number; 会变成 it  becomes:
-propertyName:n = 会根据数据类型自动添加默认值 Automatically adds default values 你输入 you  type:
private   var  propertyName:Number = 0 ; 会变成 it  becomes:
* $ classMember:a= $ 表明是类的属性 $ for class property 你输入 you  type:
protected   static   var  classMember:Array =  []; 会变成 it  becomes:
$$ constantMember:s= $$ 表明是常量 根据习惯常量的名字统统大写 $$ for constant property Constant members always have upper case names 你输入 you  type:
public   static   const  CONSTANT_MEMBER:String =   "" ; 会变成 it  becomes:
_ internalProperty:i 下划线表明是内部属性,于是自动创建 getter 和 setter 读写器 Underscore is the core of getter and setters 你输入 you  type:
private   var  _internalProperty:int; public   function   get  internalProperty () :int { return  _internalProperty; } public   function   set  internalProperty ( value:int ) : void { } 会变成 it  becomes:
-methodName () :b ()  是方法的好朋友 () is a method 你输入 you  type:
private   function  methodName () :Boolean { } 会变成 it  becomes:
Want more magic? Fine, let me know Email:  [email_address]

Weitere ähnliche Inhalte

Was ist angesagt?

02 Php Vars Op Control Etc
02 Php Vars Op Control Etc02 Php Vars Op Control Etc
02 Php Vars Op Control EtcGeshan Manandhar
 
Object-Oriented Programming with PHP (part 1)
Object-Oriented Programming with PHP (part 1)Object-Oriented Programming with PHP (part 1)
Object-Oriented Programming with PHP (part 1)Bozhidar Boshnakov
 
Anonymous classes
Anonymous classesAnonymous classes
Anonymous classesDarkmira
 
Symfony messenger - PHPers Summit 2019
Symfony messenger - PHPers Summit 2019Symfony messenger - PHPers Summit 2019
Symfony messenger - PHPers Summit 2019Michał Kurzeja
 
Create a web-app with Cgi Appplication
Create a web-app with Cgi AppplicationCreate a web-app with Cgi Appplication
Create a web-app with Cgi Appplicationolegmmiller
 
Object oriented php
Object oriented phpObject oriented php
Object oriented phpjwperry
 
Dealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottDealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottO'Reilly Media
 
How to improve the quality of your TYPO3 extensions
How to improve the quality of your TYPO3 extensionsHow to improve the quality of your TYPO3 extensions
How to improve the quality of your TYPO3 extensionsChristian Trabold
 
JavaScript Literacy
JavaScript LiteracyJavaScript Literacy
JavaScript LiteracyDavid Jacobs
 
Practical TypeScript
Practical TypeScriptPractical TypeScript
Practical TypeScriptldaws
 
Php pattern matching
Php pattern matchingPhp pattern matching
Php pattern matchingJIGAR MAKHIJA
 
Php server variables
Php server variablesPhp server variables
Php server variablesJIGAR MAKHIJA
 
Object Oriented PHP - PART-2
Object Oriented PHP - PART-2Object Oriented PHP - PART-2
Object Oriented PHP - PART-2Jalpesh Vasa
 

Was ist angesagt? (20)

PHP Basics
PHP BasicsPHP Basics
PHP Basics
 
PHP variables
PHP  variablesPHP  variables
PHP variables
 
02 Php Vars Op Control Etc
02 Php Vars Op Control Etc02 Php Vars Op Control Etc
02 Php Vars Op Control Etc
 
Object-Oriented Programming with PHP (part 1)
Object-Oriented Programming with PHP (part 1)Object-Oriented Programming with PHP (part 1)
Object-Oriented Programming with PHP (part 1)
 
Php variables
Php variablesPhp variables
Php variables
 
Anonymous classes
Anonymous classesAnonymous classes
Anonymous classes
 
Symfony messenger - PHPers Summit 2019
Symfony messenger - PHPers Summit 2019Symfony messenger - PHPers Summit 2019
Symfony messenger - PHPers Summit 2019
 
Create a web-app with Cgi Appplication
Create a web-app with Cgi AppplicationCreate a web-app with Cgi Appplication
Create a web-app with Cgi Appplication
 
Object oriented php
Object oriented phpObject oriented php
Object oriented php
 
Php variables (english)
Php variables (english)Php variables (english)
Php variables (english)
 
Dealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottDealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter Scott
 
09 Oo Php Register
09 Oo Php Register09 Oo Php Register
09 Oo Php Register
 
How to improve the quality of your TYPO3 extensions
How to improve the quality of your TYPO3 extensionsHow to improve the quality of your TYPO3 extensions
How to improve the quality of your TYPO3 extensions
 
Web 4 | Core JavaScript
Web 4 | Core JavaScriptWeb 4 | Core JavaScript
Web 4 | Core JavaScript
 
JavaScript Literacy
JavaScript LiteracyJavaScript Literacy
JavaScript Literacy
 
Web 9 | OOP in PHP
Web 9 | OOP in PHPWeb 9 | OOP in PHP
Web 9 | OOP in PHP
 
Practical TypeScript
Practical TypeScriptPractical TypeScript
Practical TypeScript
 
Php pattern matching
Php pattern matchingPhp pattern matching
Php pattern matching
 
Php server variables
Php server variablesPhp server variables
Php server variables
 
Object Oriented PHP - PART-2
Object Oriented PHP - PART-2Object Oriented PHP - PART-2
Object Oriented PHP - PART-2
 

Andere mochten auch

Andere mochten auch (18)

Modernos Contos Brasileiros IV
Modernos Contos Brasileiros IVModernos Contos Brasileiros IV
Modernos Contos Brasileiros IV
 
Step by step membuat email pkn
Step by step membuat email pknStep by step membuat email pkn
Step by step membuat email pkn
 
PresentacióN1
PresentacióN1PresentacióN1
PresentacióN1
 
Relato sob o outono
Relato sob o outonoRelato sob o outono
Relato sob o outono
 
MpegFamily
MpegFamilyMpegFamily
MpegFamily
 
B L O K4 P R A K T E K A N I M A S I S W I S H M A X
B L O K4  P R A K T E K  A N I M A S I  S W I S H M A XB L O K4  P R A K T E K  A N I M A S I  S W I S H M A X
B L O K4 P R A K T E K A N I M A S I S W I S H M A X
 
E F E K B E N D E R A B E R K I B A R D E N G A N S W I S H M A X
E F E K  B E N D E R A  B E R K I B A R  D E N G A N  S W I S H  M A XE F E K  B E N D E R A  B E R K I B A R  D E N G A N  S W I S H  M A X
E F E K B E N D E R A B E R K I B A R D E N G A N S W I S H M A X
 
Bagi kelas 9
Bagi kelas 9Bagi kelas 9
Bagi kelas 9
 
Bagi kelas 8
Bagi kelas 8Bagi kelas 8
Bagi kelas 8
 
Tutorial membuat presentasi interaktif project kl 9
Tutorial membuat presentasi interaktif project kl 9Tutorial membuat presentasi interaktif project kl 9
Tutorial membuat presentasi interaktif project kl 9
 
What is a mountain
What is a mountainWhat is a mountain
What is a mountain
 
Bagi kelas 7
Bagi kelas 7Bagi kelas 7
Bagi kelas 7
 
Tatib smpypvdp
Tatib smpypvdpTatib smpypvdp
Tatib smpypvdp
 
Kalender akademik 2016 2017 (1)
Kalender akademik 2016 2017 (1)Kalender akademik 2016 2017 (1)
Kalender akademik 2016 2017 (1)
 
Weathering and erosion
Weathering and erosionWeathering and erosion
Weathering and erosion
 
Storm drains and beach erosion
Storm drains and beach erosionStorm drains and beach erosion
Storm drains and beach erosion
 
Palestra Cyberbullying e Sexting
Palestra Cyberbullying e Sexting Palestra Cyberbullying e Sexting
Palestra Cyberbullying e Sexting
 
5th grade curriculum night wiki
5th  grade curriculum night wiki5th  grade curriculum night wiki
5th grade curriculum night wiki
 

Ähnlich wie Convention Generator - Yi’s Eclipse Monkey Scripts for Coding ActionScript in Flash Builder

Secure Programming
Secure ProgrammingSecure Programming
Secure Programmingalpha0
 
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)James Titcumb
 
Object Oriented Programming Basics with PHP
Object Oriented Programming Basics with PHPObject Oriented Programming Basics with PHP
Object Oriented Programming Basics with PHPDaniel Kline
 
Flask jwt authentication tutorial
Flask jwt authentication tutorialFlask jwt authentication tutorial
Flask jwt authentication tutorialKaty Slemon
 
Dart for Java Developers
Dart for Java DevelopersDart for Java Developers
Dart for Java DevelopersYakov Fain
 
Plugin Development - WP Meetup Antwerp
Plugin Development - WP Meetup AntwerpPlugin Development - WP Meetup Antwerp
Plugin Development - WP Meetup AntwerpBarry Kooij
 
Accessing loosely structured data from F# and C#
Accessing loosely structured data from F# and C#Accessing loosely structured data from F# and C#
Accessing loosely structured data from F# and C#Tomas Petricek
 
Replacing "exec" with a type and provider: Return manifests to a declarative ...
Replacing "exec" with a type and provider: Return manifests to a declarative ...Replacing "exec" with a type and provider: Return manifests to a declarative ...
Replacing "exec" with a type and provider: Return manifests to a declarative ...Puppet
 
Replacing "exec" with a type and provider
Replacing "exec" with a type and providerReplacing "exec" with a type and provider
Replacing "exec" with a type and providerDominic Cleal
 
Understanding Reflection
Understanding ReflectionUnderstanding Reflection
Understanding ReflectionTamir Khason
 
Type script - advanced usage and practices
Type script  - advanced usage and practicesType script  - advanced usage and practices
Type script - advanced usage and practicesIwan van der Kleijn
 
Symfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with easeSymfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with easeOscar Merida
 

Ähnlich wie Convention Generator - Yi’s Eclipse Monkey Scripts for Coding ActionScript in Flash Builder (20)

Secure Programming
Secure ProgrammingSecure Programming
Secure Programming
 
lab4_php
lab4_phplab4_php
lab4_php
 
lab4_php
lab4_phplab4_php
lab4_php
 
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
 
SRAVANByCPP
SRAVANByCPPSRAVANByCPP
SRAVANByCPP
 
Object Oriented Programming Basics with PHP
Object Oriented Programming Basics with PHPObject Oriented Programming Basics with PHP
Object Oriented Programming Basics with PHP
 
PHP Secure Programming
PHP Secure ProgrammingPHP Secure Programming
PHP Secure Programming
 
Flask jwt authentication tutorial
Flask jwt authentication tutorialFlask jwt authentication tutorial
Flask jwt authentication tutorial
 
Json
JsonJson
Json
 
Dart for Java Developers
Dart for Java DevelopersDart for Java Developers
Dart for Java Developers
 
Synapseindia dot net development
Synapseindia dot net developmentSynapseindia dot net development
Synapseindia dot net development
 
C#
C#C#
C#
 
Plugin Development - WP Meetup Antwerp
Plugin Development - WP Meetup AntwerpPlugin Development - WP Meetup Antwerp
Plugin Development - WP Meetup Antwerp
 
PHP and COM
PHP and COMPHP and COM
PHP and COM
 
Accessing loosely structured data from F# and C#
Accessing loosely structured data from F# and C#Accessing loosely structured data from F# and C#
Accessing loosely structured data from F# and C#
 
Replacing "exec" with a type and provider: Return manifests to a declarative ...
Replacing "exec" with a type and provider: Return manifests to a declarative ...Replacing "exec" with a type and provider: Return manifests to a declarative ...
Replacing "exec" with a type and provider: Return manifests to a declarative ...
 
Replacing "exec" with a type and provider
Replacing "exec" with a type and providerReplacing "exec" with a type and provider
Replacing "exec" with a type and provider
 
Understanding Reflection
Understanding ReflectionUnderstanding Reflection
Understanding Reflection
 
Type script - advanced usage and practices
Type script  - advanced usage and practicesType script  - advanced usage and practices
Type script - advanced usage and practices
 
Symfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with easeSymfony console: build awesome command line scripts with ease
Symfony console: build awesome command line scripts with ease
 

Kürzlich hochgeladen

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 

Kürzlich hochgeladen (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Convention Generator - Yi’s Eclipse Monkey Scripts for Coding ActionScript in Flash Builder

  • 1. COC 风味的 Flash Builder 代码生成脚本 Yi’s Eclipse Monkey Scripts for Flash Builder Convention Generator By Yi Tan [email_address]
  • 2.
  • 3.
  • 4. 你输入 you type: propertyName:Number 快捷键 : Alt + 1 Shortcut Key: Alt+1
  • 5. 会变成 it becomes: public var propertyName:Number;
  • 6. propertyName: n o : Object s : String b : Boolean a : Array n : Number i : int u : uint v : Vector x : XML 使用数据类型缩写更方便 Use abbreviation for data type declaration 你输入 you type:
  • 7. public var propertyName:Number; 会变成 it becomes:
  • 8. - propertyName:n 访问控制器用符号表示 Handy marks for access control +: public -: private *: protected 你输入 you type:
  • 9. private var propertyName:Number; 会变成 it becomes:
  • 10. -propertyName:n = 会根据数据类型自动添加默认值 Automatically adds default values 你输入 you type:
  • 11. private var propertyName:Number = 0 ; 会变成 it becomes:
  • 12. * $ classMember:a= $ 表明是类的属性 $ for class property 你输入 you type:
  • 13. protected static var classMember:Array = []; 会变成 it becomes:
  • 14. $$ constantMember:s= $$ 表明是常量 根据习惯常量的名字统统大写 $$ for constant property Constant members always have upper case names 你输入 you type:
  • 15. public static const CONSTANT_MEMBER:String = "" ; 会变成 it becomes:
  • 16. _ internalProperty:i 下划线表明是内部属性,于是自动创建 getter 和 setter 读写器 Underscore is the core of getter and setters 你输入 you type:
  • 17. private var _internalProperty:int; public function get internalProperty () :int { return _internalProperty; } public function set internalProperty ( value:int ) : void { } 会变成 it becomes:
  • 18. -methodName () :b () 是方法的好朋友 () is a method 你输入 you type:
  • 19. private function methodName () :Boolean { } 会变成 it becomes:
  • 20. Want more magic? Fine, let me know Email: [email_address]