tern-react


Ⅰ. 插件描述

A Tern plugin adding React support.

Ⅱ. 基本信息

创建日期:  2015-10-09
使用用户:  1
Github星:  22
插件作者:  Angelo

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'angelozerr/tern-react'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'angelozerr/tern-react'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'angelozerr/tern-react'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/angelozerr/tern-react

Ⅳ. 文档说明

# tern-react

Build Status
NPM version

Tern plugin adding React support.

Pay attention!, this project is just a POC to try acorn-jsx.
There is a lot of limitation:

  • JSX completion cannot work since acorn-jsx cannot support acorn_loose (it is not able to parse not valid JSX). See issue 32 for more information.

Release was done just for jsctags.

添加新评论