c# - Pattern not found with Omnisharp, VIM and csharp -


i'm been trying set omnisharp work csharp projects vim. here setup

here setup

lsb_release -a distributor id: ubuntu description:    ubuntu 14.04.2 lts release:        14.04 codename:       trusty 

i'm using crouton, on chromebook. use sudo enter-chroot , use vim way.

my vim info

vim - vi improved 7.4 (2013 aug 10, compiled jan  2 2014 19:39:32) included patches: 1-52 modified pkg-vim-maintainers@lists.alioth.debian.org compiled buildd@ huge version without gui.  features included (+) or not (-): +acl             +farsi           +mouse_netterm   +syntax +arabic          +file_in_path    +mouse_sgr       +tag_binary +autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static -balloon_eval    +float           +mouse_urxvt     -tag_any_white -browse          +folding         +mouse_xterm     -tcl ++builtin_terms  -footer          +multi_byte      +terminfo +byte_offset     +fork()          +multi_lang      +termresponse +cindent         +gettext         -mzscheme        +textobjects -clientserver    -hangul_input    +netbeans_intg   +title -clipboard       +iconv           +path_extra      -toolbar +cmdline_compl   +insert_expand   -perl            +user_commands +cmdline_hist    +jumplist        +persistent_undo +vertsplit +cmdline_info    +keymap          +postscript      +virtualedit +comments        +langmap         +printer         +visual +conceal         +libcall         +profile         +visualextra +cryptv          +linebreak       +python          +viminfo +cscope          +lispindent      -python3         +vreplace +cursorbind      +listcmds        +quickfix        +wildignore +cursorshape     +localmap        +reltime         +wildmenu +dialog_con      -lua             +rightleft       +windows +diff            +menu            -ruby            +writebackup +digraphs        +mksession       +scrollbind      -x11 -dnd             +modify_fname    +signs           -xfontset -ebcdic          +mouse           +smartindent     -xim +emacs_tags      -mouseshape      -sniff           -xsmp +eval            +mouse_dec       +startuptime     -xterm_clipboard +ex_extra        +mouse_gpm       +statusline      -xterm_save +extra_search    -mouse_jsbterm   -sun_workshop    -xpm    system vimrc file: "$vim/vimrc"      user vimrc file: "$home/.vimrc"  2nd user vimrc file: "~/.vim/vimrc"       user exrc file: "$home/.exrc"   fall-back $vim: "/usr/share/vim" compilation: gcc -c -i. -iproto -dhave_config_h     -g -o2 -fstack-protector --param=ssp-buffer-size=4 -wformat -werror=format-security -u_fortify_source -d_fortify_source=1       linking: gcc   -wl,-bsymbolic-functions -wl,-z,relro -wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl    -l/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -xlinker -export-dynamic -wl,-o1 -wl,-bsymbolic-functions 

my .vimrc file testing

execute pathogen#infect() syntax on filetype plugin indent on  set statusline+=%#warningmsg# set statusline+=%{syntasticstatuslineflag()} set statusline+=%*  let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 

my plugins. i'm using pathogen

youcompleteme  omnisharp-vim  syntastic  vim-dispatch  

my mono version

mono jit compiler version 4.0.2 (stable 4.0.2.5/c99aa0c wed jun 24 10:04:37 utc 2015) copyright (c) 2002-2014 novell, inc, xamarin inc , contributors. www.mono-project.com         tls:           __thread         sigsegv:       altstack         notifications: epoll         architecture:  amd64         disabled:      none         misc:          softdebug          llvm:          supported, not enabled.         gc:            sgen 

when open cs file project, following message, server being launched

!mono '/home/bilal/.vim/bundle/omnisharp-vim/server/omnisharp/bin/debug/omnisharp.exe' -p 2000 -s '/home/bilal/documents/deletethis/test1/test1.sln'  (headless/24015) 

but following message everytime instead of intellisense

omni completion (^o^n^p) pattern not found 

i tried using c-x, c-o, same message.

is there can debug more? not sure i'm doing wrong here

thanks

this happening me, had missed out step of running xbuild within server folder.

re-running last 2 lines below fixed me.

cd ~/.vim/bundle git clone https://github.com/omnisharp/omnisharp-vim.git cd omnisharp-vim git submodule update --init --recursive cd server xbuild 

Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -