artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim
Vim License
973 stars 82 forks source link

AutoCompletion does not show up on Ubuntu, installed with pathogen #439

Closed ghost closed 4 years ago

ghost commented 4 years ago

Actual behavior (Required!)

After installing the plugin with pathogen (by directly cloning the project), I opened a new java file, and wrote several lines. But no code completion has been done.

Expected behavior (Required!)

The code completion works as shown in the README.

The steps to reproduce actual behavior (Required!)

  1. Install ultimate vimrc, which use pathogen as package management
  2. Clone vim-javacomplete2 into ~/.vim_runtime/my_plugins
  3. Open a new file with vim demo.java
  4. Type import java. and wait for code completion to happen

Environment (Required!)

Other context

As mentioned in this issue, I go to libs/javavi and run mvn compile test. And see "BUILD SUCCESS" with no error.

artur-shaik commented 4 years ago

What if you press <C-x><C-o> after import java. ?

ghost commented 4 years ago

@artur-shaik Thanks for your quick reply!

<C-x><C-o> will show the completion! But is it possible to automatically show the completion? It's kind of tedious to press this everytime :(

artur-shaik commented 4 years ago

Yes, of course, see this #305