我在Vim中打开了完成功能:
autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=
我现在选择的Objective-J Cappuccino开发编辑器是Sublime Text 2。不幸的是,我还没有找到一个Objective-J智能感知自动完成插件。它看起来应该是可行的,因为Objective-J确实有(可选/可插拔)类型。所以我认为一个插件绝对可以解析代码来找到你想要自动补全的对象的预期类型,然后查找它的方法列表。有没有人知道有其他编辑器支持Objective-J的智能感知?
我想有vim自动完成生锈。所以我在全球范围内安装了racer,并通过运行rustup component add rust-src获得了rust的源代码。 我有一个.vim/bundle/rust_racer/plugin/rust_racer.vim格式的插件,它是从vim-racer插件库中的ftplugin文件夹下载的。 最后,在.vimrc中,我有: set runtimepath^=~/.vim/bundle/rust_racer
" Set rust autocompletion tool "racer" ..
set hidden
let g:race
我有一个设置和工作。我知道这一点是因为
:PingEclim
显示
eclim 2.3.4
eclipse 4.3.2
Press ENTER or type command to continue
在插入模式下,在适当的颜色和Ctrl-X中,Ctrl-U在部分方法名之后显示正确的补全。
但是,YouCompleteMe不起作用。为了安装YouCompleteMe,我添加了以下几行代码。
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'Valloric/YouCompleteMe'
let g:EclimCom
我必须在文本模式debian linux中开发我的项目。我使用的是Vim,并在上面安装了clang_completion插件。我在项目的根目录下创建了.clang_completion文件:
-I.
-I/usr/include
-I/usr/include/c++/4.6
当我像下面这样写一个程序时,补全工作得很好。
//#include <stdio.h>
int main()
{
struct A
{
int x, y;
};
A a;
a. // After putting dot, the suggestion popup appears
我有几个使用Vim的系统,其中一个系统无法查看/编辑压缩文件。我相信我有正确的插件,因为我的Vim 7.0的另一个系统可以与相同的插件正常工作。
我得到一个错误:
$ vi admin.war
~
...
~
***error*** (zip#Browse) unzip not available on your system
我的机器:
$ uname -srmo
Linux 2.6.35.4-rscloud x86_64 GNU/Linux
$ vim --v
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Sep 28 2010 11:05:08