Ⅰ. 插件描述
vim completefunc for .net (c#/wpf)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'yuratomo/dotnet-complete'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'yuratomo/dotnet-complete'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'yuratomo/dotnet-complete'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/yuratomo/dotnet-complete
Ⅳ. 文档说明
dotnet-complete
This plugin is a completion for .Net Source.
- WPF (*.xaml)
- c# (*.cs)
Settings
for xaml
au BufNewFile,BufRead *.xaml setf xml
au BufNewFile,BufRead *.xaml setl omnifunc=xaml#complete
for c
au BufNewFile,BufRead *.cs setl omnifunc=cs#complet
au BufNewFile,BufRead *.cs setl bexpr=cs#balloon()
au BufNewFile,BufRead *.cs setl ballooneval
Command
:DotnetCompleteLoadFromTag
:DotnetCompleteLoadFromTag
ScreenShots
XAML
- Tag name (Class name)
- Tag attribute name
- Value (Enum and value)
- Tag Property name (Property and event)
- Binding (Binding class)
- Binding Property
- Binding Name
- xaml namespace
CS
- Namespace (Using ...)
- Class name
- Class member
- New class
- Class balloon help
- member balloon help