[SVN] r11568 (ActionScript 3)

Simon Gregory simon at helvector.org
Wed May 27 21:36:55 UTC 2009


• Compressed and rewritten Build commands into a single command.

This implementation is now written in ruby and should behave in the same way as the previous Build command. Additionally - when running a build using fcsh and the Terminal the Terminal is activated. To suppress this behavior set TM_FLEX_BACKGROUND_TERMINAL to anything.

• 'Intelligent' Run command.

Now inspects TM_FLEX_RUN_FILE to see if it's executable, if it is then it runs it. Otherwise it uses `open` as open should correctly identify and open the file using the users default application (ie Safari for a html file, SA Flash Player for a swf). When TM_FLEX_RUN_FILE isn't available a little educated guesswork is used to try an identify a compiled swf to open that matches the current file name.

• Tooltip help is now available within flex config files (on ctrl-h).

• Spring cleaning for templates and snippets - making sure they're conforming to standards, trimming whitespace etc.

• Auto Completion and Build commands abstracted to the bin to try and avoid path problems when the bundle finds itself in the 'Pristine Copy' directory.

• Help updated to reflect the changes above.

• Added a 'Subclass' drag command.

If you drag another class into the current document you'll be presented with options to 'include', 'implement interface' or 'subclass'.

• Class Template (tab triggered on cla) now searches across bundles for templates.

By default the templates found in the ActionScript 3 and Flex bundles are included. This is easy to expand by adding the names of alternative bundles you want included to the env var TM_AS3_TEMPLATE_BUNDLES (see Settings.tmPreference). Any template which defines holds a 'class.as' file will be included.

• All fcsh/mxmlc output parsers now use an instance of MxmlcExhaust.

• When detecting if a class has already been imported the regex now only matches full names.

Previously partial class names were being picked up, so the UI could report a class was imported when it wasn't. Closes #1

Changed:
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Add Import.tmCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Auto Complete.tmCommand
D   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Build (ant).tmCommand
D   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Build (custom).tmCommand
D   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Build (mxmlc).tmCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Build.tmCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Class Templates.tmCommand
D   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Compile Current Class___.tmCommand
D   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Format fsch Terminal Output .tmCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Metadata.tmCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Run Project___.tmCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Search AS3 Language Reference.tmCommand
D   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/Simple Getter:Setter.tmCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/asdoc.tmCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Commands/package.tmCommand
A   trunk/Review/Bundles/ActionScript 3.tmbundle/DragCommands/Subclass.tmDragCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/DragCommands/implement interface.tmDragCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/DragCommands/import.tmDragCommand
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Preferences/Settings.tmPreferences
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Snippets/asdoc-newline.tmSnippet
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Snippets/if.tmSnippet
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/bin/as3_template_parser.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/bin/build.rb
D   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/bin/build_with_fcsh.sh
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/bin/complete.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/bin/parse_fcsh_output.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/bin/parse_mxmlc_out.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/add_lib.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/completions/completions_list.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/parsers/class_parser.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/parsers/config.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/parsers/manifest.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/parsers/mxml.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/parsers/property_inspector.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/parsers/swf.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/templates/model/class_doc.erb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/templates/model/doc.erb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/templates/snippet_builder.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/templates/snippet_controller.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/templates/snippet_provider.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/as3/tools/source_tools.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/flex_env.rb
D   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/flex_utils.sh
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/fm/asd.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/fm/bundle_tool.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/fm/compiler.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/fm/fcd.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/fm/flex_mate.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/fm/log.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/fm/mxmlc_exhaust.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/fm/sdk.rb
A   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/fm/template_machine.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Support/lib/help.rb
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Syntaxes/ActionScript 3.tmLanguage
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Class.tmTemplate/class.as
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Class.tmTemplate/info.plist
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Error Subclass.tmTemplate/class.as
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Error Subclass.tmTemplate/info.plist
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Event Subclass.tmTemplate/class.as
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Event Subclass.tmTemplate/info.plist
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/EventDispatcher Subclass.tmTemplate/class.as
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Interface.tmTemplate/class.as
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Project - Actionscript 3.tmTemplate/Project.as
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Project - Actionscript 3.tmTemplate/Project.tmproj.xml
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Project - Actionscript 3.tmTemplate/_create_as3_project.sh
D   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Project - Actionscript 3.tmTemplate/compile.sh
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Singleton.tmTemplate/class.as
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Singleton.tmTemplate/info.plist
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Sprite Subclass.tmTemplate/class.as
U   trunk/Review/Bundles/ActionScript 3.tmbundle/Templates/Sprite Subclass.tmTemplate/info.plist
U   trunk/Review/Bundles/ActionScript 3.tmbundle/help.mdown
U   trunk/Review/Bundles/ActionScript 3.tmbundle/info.plist



More information about the textmate-dev mailing list