sponsor Vim development Vim logo Vim Book Ad

Flex Development Support : Flex development support, ftplugin, indent, syntax, code completion, ...

 script karma  Rating 33/15, Downloaded by 2136  Comments, bugs, improvements  Vim wiki

created by
David Fishburn
script type
Adobe Flex is a highly productive, free open source framework for building and maintaining expressive web applications that deploy consistently on all major browsers, desktops, and operating systems.  Flex applications can be built using the free Flex SDK (http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk).

Here is a snippet from :h flex.txt (after installing).

This document outlines the various features the Vim Flex Development Support suite provides and how to interact with it to enhance the Vim development experience for Flex applications.

1. Overview
2. Filetypes
3. Navigation
    3.1 Matchit
    3.2 Text Object Motions
    3.3 Macros
    3.4 Imports
4. OMNI MXML Completion
5. Compilation
    5.1 mxmlc
    5.2 Ant
6. Indenting
7. Syntax Highlighting
8. Flex Tutorial
    8.1 Code Completion
    8.2 Imports
    8.3 Compiling
        8.3.1 mxmlc
        8.3.2 Ant

Essentially, this suite provides:
    file type support
    code completion
Since this is a new project, please post to vim_use with comments and suggestions.  Especially if you are having difficultly getting things working as expected.

If someone knows how to generate a list of classes and the associated methods for ActionScript, please let me know.  I will add code completion for it in addition to the MXML code completion.

install details
The zip file contains the necessary path structure.

On *nix, unzip into:

On Windows unzip into:

To update the Vim Help, run:
:helptags $HOME/.vim/doc  (Unix)
:helptags $VIM/vimfiles/doc  (Windows)

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
flex_dev_30.zip 3.0 2010-05-07 7.0 David Fishburn Updated the syntax files.
Updated the indent files (Ingo Karkat).
There were apparently some issues unzipping this file on *nix platforms related to the XML completion files.
All files now use the unix fileformat (:set ff=unix) so there shouldn't be issues using this on *nix.
flex_dev_20.zip 2.0 2010-01-13 7.0 David Fishburn The autoload/mxmlcomplete.vim file was missing.
Minor update to the documentation.
flex_dev_10.zip 1.0 2009-12-31 7.0 David Fishburn Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.