vim omnifunc for flex (actionscript and mxml).
Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload
README.md

README.md

flex-api-complete

Vim omnifunc for flex api.

Install

Set your .vimrc as follows.

" Vundle
Bundle 'git://github.com:yuratomo/flex-api-complete.git'

Settings

Set your .vimrc as follows.

autoload flex-api-complete

au BufNewFile,BufRead *.as    setl omnifunc=flexapi#complete
au BufNewFile,BufRead *.mxml  setf xml
au BufNewFile,BufRead *.mxml  setl omnifunc=mxml#complete

show status refarence

au CompleteDone *.as          call flexapi#showRef()
au BufNewFile,BufRead *.as    inoremap <expr> <c-down> flexapi#nextRef()
au BufNewFile,BufRead *.as    inoremap <expr> <c-up>   flexapi#prevRef()

balloon help

if has("balloon_eval") && has("balloon_multiline") 
  au BufNewFile,BufRead *.as  setl bexpr=flexapi#balloon()
  au BufNewFile,BufRead *.as  setl ballooneval
endif

ScreenShots

AS

screen1

screen2

screen3

screen4

screen5

screen6

screen7

MXML

screen8

screen9