flex-api-complete


Ⅰ. 插件描述

vim omnifunc for flex (actionscript and mxml).

Ⅱ. 基本信息

创建日期:  2013-01-27
使用用户:  2
Github星:  1
插件作者:  tomoharu saito

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'yuratomo/flex-api-complete'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'yuratomo/flex-api-complete'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'yuratomo/flex-api-complete'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/yuratomo/flex-api-complete

Ⅳ. 文档说明

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

添加新评论