Sunday, April 28, 2013

Re: Omni completion (^O^N^P) Pattern not found

In vim, typing ':set omnifunc' returns

omnifunc=javacomplete#Complete

with easytags; without easytags it still shows

omnifunc=javacomplete#Complete

For configuring indexer plugin, is the file .indexer_files with content as below correct?

.indexer_files
[PROJECTS_PARENT]
option:ctags_params="--language-force=java"

/path/to/vim-plugin-test

The structure of the project (in vim-plugin-test) looks like

pom.xml src .indexer_files target

With above structure, opening the file e.g.
vi src/main/java/com/company/app/Test.java

Then at the point of the function e.g. abc(), pressing ctrl+] vim throws

E426: tag not found

tags is set with

:set tags=/path/to/tags

What steps may be missing?

Thanks



rlewis於 2013年4月27日星期六UTC+8下午11時52分40秒寫道:
> I recently install javacomplete[1] and easytags[2]. Its structure is as below. However, when trying completion by pressing ctrl+x ctrl+o, message bar display
>
> Omni completion (^O^N^P) Pattern not found
>
> If removing easytags, then javacomplete plugin works again. How to fix this problem? Or any other alternative suggestion?
>
> Thanks
>
> javacomplete version is 0.77.1.2
> easytags version should be 3.1.5
>
> autoload:
> javacomplete.vim java_parser.vim nerdtree.vim Reflection.class Reflection.java xolox
>
> doc:
> easytags.txt javacomplete.txt NERD_tree.txt tags
>
> lib:
> nerdtree
>
> misc:
> easytags
>
> nerdtree_plugin:
> exec_menuitem.vim fs_menu.vim
>
> plugin:
> easytags.vim NERD_tree.vim
>
> syntax:
> nerdtree.vim
>
> [1]. http://vim.sourceforge.net/scripts/script.php?script_id=1785
> [2]. http://www.vim.org/scripts/script.php?script_id=3114

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: