{"id":13744846,"url":"https://github.com/simongregory/actionscript3-tmbundle","last_synced_at":"2026-01-22T20:11:09.505Z","repository":{"id":496057,"uuid":"122734","full_name":"simongregory/actionscript3-tmbundle","owner":"simongregory","description":"ActionScript 3 TextMate Bundle","archived":false,"fork":false,"pushed_at":"2020-05-28T11:20:42.000Z","size":2394,"stargazers_count":118,"open_issues_count":17,"forks_count":43,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-15T23:26:51.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://blog.simongregory.com","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simongregory.png","metadata":{"files":{"readme":"README.mdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-02-05T23:32:54.000Z","updated_at":"2024-05-17T16:39:00.000Z","dependencies_parsed_at":"2022-07-07T14:22:10.685Z","dependency_job_id":null,"html_url":"https://github.com/simongregory/actionscript3-tmbundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simongregory%2Factionscript3-tmbundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simongregory%2Factionscript3-tmbundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simongregory%2Factionscript3-tmbundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simongregory%2Factionscript3-tmbundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simongregory","download_url":"https://codeload.github.com/simongregory/actionscript3-tmbundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248429101,"owners_count":21101783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:17.194Z","updated_at":"2026-01-22T20:11:04.485Z","avatar_url":"https://github.com/simongregory.png","language":"ActionScript","readme":"# TextMate ActionScript 3 Bundle\n\nA TextMate bundle for working with [ActionScript 3][as3_wiki].\n\nFeatures:\n\n * Autocompletion system (experimental)\n * MXMLC and FCSH Build Commands.\n * ActionScript 3 and Flex documentation search.\n * Drag and Drop of imports, includes, embed assets, css, xml.\n * ASDoc Support.\n * Class and Component Templates.\n * Shortcut's to open Super Class, Code Behind and Import file.\n\n# Installation\n\nVia download:\n\n * Open this [link][bundle_zip]  \n * Unzip the download  \n * Rename the folder to ActionScript 3.tmbundle  \n * Double-click  \n * TextMate handles the rest!  \n\nTo install via Git (for 2.0):\n\n\t\tcd ~/\"Library/Application Support/Avian/Bundles/\"\n\t\tgit clone git://github.com/simongregory/actionscript3-tmbundle.git \"ActionScript 3.tmbundle\"\n\nSource can be viewed and forked via [GitHub][repo_master]\n\n## SDK\n\nThis bundle is designed to work with the Flex SDK (to build using the Flash IDE \nyou should also install the [Flash.tmbundle][flash_bundle]). For full functionality\nit is necessary to download and install the [Flex SDK][flex_sdk]. Bundle commands\nwill search the following directories to attempt to find the SDK automatically:\n\n**This list only shows when this document is viewed via Bundles \u003e ActionScript 3 \u003e Help**\n\nIf you do not place the Flex SDK in one of these directories then you need to set\nthe TextMate shell variable `TM_FLEX_PATH` to your chosen directory. Please note\nthat if you have added `[flex_sdk]/bin` to your [PATH][unix_path] manually only\nthe build and compile commands make use of it, and the documentation, source code,\nand configuration commands will fail.\n\n## Documentation \n\nDocumentation is not included with the SDK so has to be installed separately for\nthe documentation command to work. You can download it from [this page][flex_docs],\nor directly as a [zip file][flex_docs_zip]. Once downloaded please rename the \nunzipped directory `docs` and place it in your Flex SDK directory.\n\n## Flash Player\n\nA full archive of flash players can be found [here][flash_player_archive],\ndebugger versions of the player are needed to trace output and display runtime\nerrors.\n\n# Conventions\n\nActionScript formatting follows the [guidelines][flex_coding_conventions] Adobe\nuse for the Flex SDK.\n\nFor Bundle conventions please follow the TextMate [conventions][tm_conventions].\n\n# Commands\n\n## Auto Complete\n\n**Target:** Current Line  \n**Key Equivalent:**  ⌥⎋  \nCurrently in an experimental state but **may** provide full auto completion based on the current property chain.\n\n## Auto Complete Function\n\n**Target:** Current Word  \n**Key Equivalent:**  ⌥⎋  \nAttempts to auto complete the function you have partially typed.\n\n## Auto Complete Import\n\n**Target:** Current Word  \n**Key Equivalent:**  ⌥⎋  \nAttempts to auto complete the import statement for the word you have partially typed.\n\n## Build\n\n**Target:** Active Project  \n**Key Equivalent:**  ⌘B  \nBuilds the currently active project. The project needs to be correctly configured by setting the `TM_FLEX_FILE_SPECS` and `TM_FLEX_OUTPUT` environmental variables. See the configuration options below.\n\n## Compile Current Class\n\n**Target:** Selected file or the active file if it doesn't belong to a project.  \n**Key Equivalent:** ⇧⌘B  \nCompiles using mxmlc.\n\n## Documentation Block \n\n**Tab Trigger:** doc  \nBy default this will open an Asdoc block. When invoked one a line directly preceeding a class or method statement output will act appropriately.\n\n## Documentation for Word / Selection\n\n**Target:** Current Word  \n**Key Equivalent:** ⌃H  \nSearches the help files for the selected word.\n\n## Function\n\n**Target:** Current Word  \n**Key Equivalent:** ⇧↩\nCreates a method using the current word as the method name. Additionally if the\ncurrent word starts with 'on' or 'handle', or ends with 'Handler' an event parameter is automatically injected into the method.\n\n## Getter/Setter\n\n**Target:** Current Word  \n**Key Equivalent:** ⌃⌥G  \nCreates a get set method pair from the selected word. If there is no current word then the command searches the document for private and protected variables and presents them as a list. Selecting an item from the list will generate the accessor.\n\n## Import Class \n\n**Target:** Current Word  \n**Key Equivalent:** ⇧⌘I  \nGenerates and inserts an Import statement based on the word the caret is currently placed at. The word may be a full or partial class name, where more than one match is found a list will be presented to choose from.\n\n## Open...\n\n**Target:** Current Word  \n**Key Equivalent:** ⇧⌘D  \nAttempts to locate the class the caret is currently on and open it.  \n\n## Remove Unused Imports\n\n**Target:** Current Document  \n**Key Equivalent:**\t⇧⌃I  \nRemoves any import statements who's class is *not referenced* elsewhere in the document. Please note that wildcarded.* packages are not removed and that packages containing more than one class will not work.\n\n## Run\n\n**Target:** Current Project or Document  \n**Key Equivalent:**\t⌘R  \nAttempts to open or execute `TM_FLEX_RUN_FILE`, `TM_FLEX_OUTPUT`, `TM_PROJECT_DIRECTORY/deploy/index.html`, or `TM_FILEPATH.swf`.\n\n# Configuration Options\n\nThese environment variables allow you to define or customise the behaviour of \ncertain commands. For help on setting them up please see [TextMate help](?environment_variables).\nTo view the defaults for certain variable look at **TextMate \u003e Bundles \u003e ActionScript 3 \u003e Settings**.\n\n* `TM_FLEX_PATH`  \nThe path to your Flex SDK installation directory. If it is not in one of the \ndefault locations (see Installation section).\n\n* `TM_FLEX_FILE_SPECS`  \nThe project directory relative path to the file to compile. Ideally this should\nbe a [Project Dependent Variable](?project_dependent_variables)\n\n* `TM_FLEX_OUTPUT`  \nThe project directory relative path of the swf or swc file to create when you\ncompile. Depending on the target output the build task will appropriately choose\nto use `mxmlc` or `compc`. Ideally this should be a [Project Dependent Variable](?project_dependent_variables).\n\n* `TM_FLEX_BUILD_FILE`  \nThe project directory relative path to the build file you wish to use to override\ndefault behaviour (triggered by  ⌘B).\n\n* `TM_FLEX_RUN_FILE`  \nThe full, or project directory relative, path to the file you wish to open or\nexecute to override default run behaviour (triggered by  ⌘R).\n\n* `TM_ORGANIZATION_NAME`  \nName used in copyright notices in most templates.\n\n* `TM_ASDOC_GENERATION`  \nIf you would like asdoc blocks automatically inserted when using commands,\nsnippets, and templates then enable this variable and set this value to anything.\nPlease note this feature is currently being added and therefore not always\navailable.\n\n* `TM_AS3_BANNER_GENERATION`  \nTo have code banners inserted into the class templates set the value of this\nvariable to anything.\n\n* `TM_FLEX_USE_FCSH`  \nSet this property to anything if you wish to compile using fcsh. This will give\nyou the added benefit of compiler caching and should be noticeably faster, \nespecially on larger projects.\n\n* `TM_FLEX_BACKGROUND_TERMINAL`  \nIf you are compiling using fcsh and the terminal setting this to anything will\nstop the switch from TextMate to the Terminal when you build.\n\n* `TM_AS3_USUAL_SRC_DIRS`  \nColon separated list of directories within which the bundle may find source files.\n\n* `TM_AS3_TEMPLATE_BUNDLES`  \nPipe separated list of Bundles to search when finding templates.\n\n* `TM_FLEX_SDK_SEARCH_PATHS`\nColon separated list of directories the bundle uses to try and locate the Flex \nSDK when it has not been explicitly defined by the user in `TM_FLEX_PATH`.\n\n# Known Issues\n\n* fsch doesn't accept escaped or quoted directory names properly, if they have \nspace it fails. The only solution is to use paths that don't contain spaces.\n\n# Support\n\n * [Issue tracker][issue_tracker]\n * [Repository][repo]\n\nFor general questions please use the [TextMate Users mailing list][tm_mailing_list].  \nBugs and issues should be reported via the [issue tracker][issue_tracker].  \nSource can be viewed and forked via the [GitHub repository][repo].  \n\n# Maintainer\n\n[Simon Gregory][sg_blog]\n\n# Contributors\n\nChris Jenkins  \nChristian Swinehart  \nChromaticRain  \n[Daniel Parnell][daniel_parnell]  \n[Gabriel Laet][gabriel_laet]  \n[Jeremy Sachs][jeremy_sachs]  \n[Joachim][joachim]  \n[Kristofer Joseph][kristoferjoseph]  \n[Lars van de Kerkhof][specialunderwear]  \n[Leo Soto][leo_soto]  \n[Lucas Dupin][lucasdupin]  \n[Luke Daley][luke_daley]  \n[Mark Llobrera][mark_llobrera]  \n[Theo Hultberg][theo]  \n[Thomas Aylott][thomas_aylott]  \n\n# License\n\nIf not otherwise specified (see below), files in this project fall under the following license:\n\n\t\tCopyright 2007-2010 Simon Gregory\n\t\t\n\t\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\t\tof this software and associated documentation files (the \"Software\"), to deal\n\t\tin the Software without restriction, including without limitation the rights\n\t\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t\tcopies of the Software, and to permit persons to whom the Software is\n\t\tfurnished to do so, subject to the following conditions:\n\t\t\n\t\tThe above copyright notice and this permission notice shall be included in\n\t\tall copies or substantial portions of the Software.\n\t\t\n\t\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\t\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\t\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\t\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\t\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\t\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\t\tTHE SOFTWARE.\n\nAn exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar.\n\n[bundle_zip]: http://github.com/simongregory/actionscript3-tmbundle/zipball/master\n[issue_tracker]: http://github.com/simongregory/actionscript3.tmbundle/issues\n[repo]: http://github.com/simongregory/actionscript3.tmbundle/\n[repo_master]: http://github.com/simongregory/actionscript3.tmbundle/tree/master\n[sg_blog]: http://blog.simonregory.com\n[tm_conventions]: http://svn.textmate.org/trunk/Conventions.txt\n[tm_env_vars]: http://manual.macromates.com/en/environment_variables\n[tm_mailing_list]: http://lists.macromates.com/listinfo/textmate\n[adobe_flash]: http://www.adobe.com/products/flashplayer/\n[adobe_flash_tool]: http://www.adobe.com/products/flash/\n[flex_coding_conventions]: http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions\n[as3_wiki]: http://en.wikipedia.org/wiki/ActionScript#ActionScript_3.0\n[flash_bundle]: http://github.com/simongregory/flash-tmbundle/tree/master\n[flex_sdk]: http://www.adobe.com/products/flex/flexdownloads/\n[unix_path]: http://en.wikipedia.org/wiki/Environment_variable#Examples_of_UNIX_environment_variables\n[flex_docs]: http://www.adobe.com/support/documentation/en/flex/\n[flex_docs_zip]: http://www.adobe.com/go/flex_documentation_zip\n[flash_player_archive]: http://www.adobe.com/go/tn_14266\n\n[thomas_aylott]: http://subtlegradient.com/\n[theo]: http://blog.iconara.net/2007/02/23/textmate-flex-tips/\n[mark_llobrera]: http://www.dirtystylus.com/blog/\n[joachim]: http://www.4d.be/\n[daniel_parnell]: http://blog.danielparnell.com/?p=22\n[specialunderwear]: http://github.com/specialunderwear\n[kristoferjoseph]: http://github.com/kristoferjoseph\n[lucasdupin]: http://github.com/lucasdupin\n[gabriel_laet]: http://github.com/gabriel-laet\n[leo_soto]: http://code.google.com/p/flex-compiler-shell-daemon/\n[jeremy_sachs]: http://www.rezmason.net/\n[luke_daley]: http://github.com/alkemist\n","funding_links":[],"categories":["Unsorted"],"sub_categories":["Other API"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimongregory%2Factionscript3-tmbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimongregory%2Factionscript3-tmbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimongregory%2Factionscript3-tmbundle/lists"}