Ⅰ. 插件描述
Intellij completion in neovimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'vhakulinen/neovim-intellij-complete'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'vhakulinen/neovim-intellij-complete'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'vhakulinen/neovim-intellij-complete'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vhakulinen/neovim-intellij-complete
Ⅳ. 文档说明
# neovim-intellij-complete
IntelliJ completion in Neovim. Depends on neovim-java-client.
Install It
Download the zip file from releases page.
This is the IntelliJ plugin which provides functionality for Neovim which you can
use with deoplete and neovim-intellij-complete-deoplete.
Install the neovim-intellij-complete plugin for IDEA, Android Studio, or
other Jetbrains IDE and deoplete + neovim-intellij-complete-deoplete for Neovim. In order to install this plugin from disk, follow the instructions here : Plugin disk installation instructions
Use It
- Run
NVIM_LISTEN_ADDRESS=127.0.0.1:7650 nvim - Select
neovim->connectfrom your IDE, from the top bar (which should be there if you've installed the
IntelliJ plugin correctly). - Enter
127.0.0.1:7650in the dialog box that opens. - Your Neovim instance should echo
Intellij connected.
Now the autocompletion should work. Note that it will only work files which are
included in the project which is opened on your IDE which you connected to neovim.