More detailed Eclim configuration instructions
Knowing those two things (that you need to run latest Eclipse Juno) and you need to create a new project from vim would have saved me a lot of time when trying to make it all work. I think it's worth adding this information to the README.
This commit is contained in:
parent
d4ca726fac
commit
8fe6b87e45
14
README.md
14
README.md
@ -370,11 +370,15 @@ file's filetype. Vim comes with okayish omnifuncs for various languages like
|
|||||||
Ruby, PHP etc. It depends on the language.
|
Ruby, PHP etc. It depends on the language.
|
||||||
|
|
||||||
You can get stellar omnifuncs for Java and Ruby with [Eclim][]. Just make sure
|
You can get stellar omnifuncs for Java and Ruby with [Eclim][]. Just make sure
|
||||||
you have the _latest_ Eclim installed and configured and don't forget to have
|
you have the _latest_ Eclim installed and configured (this means Eclim `>= 2.2.*`
|
||||||
`let g:EclimCompletionMethod = 'omnifunc'` in your vimrc. This will make YCM and
|
and Eclipse `>= 4.2.*`).
|
||||||
Eclim play nice; YCM will use Eclim's omnifuncs as the data source for semantic
|
|
||||||
completions and provide the auto-triggering and subsequence-based matching (and
|
After installing Eclim remember to create a new Eclipse project within your
|
||||||
other YCM features) on top of it.
|
application by typing `:ProjectCreate <path-to-your-project> -n ruby` (or `-n java`)
|
||||||
|
inside vim and don't forget to have `let g:EclimCompletionMethod = 'omnifunc'`
|
||||||
|
in your vimrc. This will make YCM and Eclim play nice; YCM will use Eclim's omnifuncs
|
||||||
|
as the data source for semantic completions and provide the auto-triggering
|
||||||
|
and subsequence-based matching (and other YCM features) on top of it.
|
||||||
|
|
||||||
### Writing New Semantic Completers
|
### Writing New Semantic Completers
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user