dotnet-complete


Ⅰ. 插件描述

vim completefunc for .net (c#/wpf)

Ⅱ. 基本信息

创建日期:  2012-09-15
使用用户:  6
Github星:  9
插件作者:  tomoharu saito

Ⅲ. 安装方法

使用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 name

  • Tag attribute name

Tag attribute name

  • Value (Enum and value)

Value

  • Tag Property name (Property and event)

Tag Property name

  • Binding (Binding class)

Binding

  • Binding Property

BInding Property

  • Binding Name

Binding Name

  • xaml namespace

xaml namespace

CS

  • Namespace (Using ...)

Namespace

Namespac2

  • Class name

Class name

  • Class member

Class member

Class member2

  • New class

New class

  • Class balloon help

Class balloon help

  • member balloon help

member balloon help

添加新评论