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

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

Favorites, Groups & Events

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

  1. COC 风味的 Flash Builder 代码生成脚本 Yi’s Eclipse Monkey Scripts for Flash Builder Convention Generator By Yi Tan [email_address]
    • 安装 Eclipse Monkey:
    • Installing Eclipse Monkey:
    • http://download.eclipse.org/technology/dash/update/
    • 安装 Convention Generator 脚本
    • Installing Convention Generator script
    • SVN checkout from http://code.google.com/p/yis-eclipse-monkey-scripts-for-flash-builder/
    1 2 3 将 .js 文件放置到“ scripts” 子目录中 Put .js file to “scripts” sub folder 然后菜单条中即会出现此命令 Then the command should be available in the menu
  2. 你输入 you type: propertyName:Number 快捷键 : Alt + 1 Shortcut Key: Alt+1
  3. 会变成 it becomes: public var propertyName:Number;
  4. 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:
  5. public var propertyName:Number; 会变成 it becomes:
  6. - propertyName:n 访问控制器用符号表示 Handy marks for access control +: public -: private *: protected 你输入 you type:
  7. private var propertyName:Number; 会变成 it becomes:
  8. -propertyName:n = 会根据数据类型自动添加默认值 Automatically adds default values 你输入 you type:
  9. private var propertyName:Number = 0 ; 会变成 it becomes:
  10. * $ classMember:a= $ 表明是类的属性 $ for class property 你输入 you type:
  11. protected static var classMember:Array = []; 会变成 it becomes:
  12. $$ constantMember:s= $$ 表明是常量 根据习惯常量的名字统统大写 $$ for constant property Constant members always have upper case names 你输入 you type:
  13. public static const CONSTANT_MEMBER:String = "" ; 会变成 it becomes:
  14. _ internalProperty:i 下划线表明是内部属性,于是自动创建 getter 和 setter 读写器 Underscore is the core of getter and setters 你输入 you type:
  15. private var _internalProperty:int; public function get internalProperty () :int { return _internalProperty; } public function set internalProperty ( value:int ) : void { } 会变成 it becomes:
  16. -methodName () :b () 是方法的好朋友 () is a method 你输入 you type:
  17. private function methodName () :Boolean { } 会变成 it becomes:
  18. Want more magic? Fine, let me know Email: [email_address]

+ Yi TanYi Tan, 1 month ago

custom

306 views, 0 favs, 1 embeds more stats

This is a handy Eclipse Monkey script generates Act more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 306
    • 296 on SlideShare
    • 10 from embeds
  • Comments 1
  • Favorites 0
  • Downloads 1
Most viewed embeds
  • 10 views on http://tanyi.info

more

All embeds
  • 10 views on http://tanyi.info

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories