Loading ...
Sorry, an error occurred while loading the content.

Javacomplete not working

Expand Messages
  • Phillip Kessels
    Hi, i recently tried to install javacomplete for vim. I followed the installation instructions and added the lines to .vimrc as stated. My problem is: Whenever
    Message 1 of 1 , Apr 1 4:29 AM
    • 0 Attachment
      Hi,

      i recently tried to install javacomplete for vim.

      I followed the installation instructions and added the lines to .vimrc as stated.


      My problem is: Whenever I type <C-x><C-o> I get:
      ""*.java" [New File]
      Cannot open file "*.java"
      Press ENTER or type command to continue
      Error detected while processing function javacomplete#Complete..<SNR>28_CompleteAfterWord:
      line 57:
      E480: No match: \s*\<\C\(\%(\%(public\|protected\|private\|abstract\|static\|final\|strictfp\)\s\+\)*\)\(class\|interface\|enum\)[ \t\n\r^L]\+\([a-zA-Z_$][a-zA-Z0-9_$]*\)[< \t\n\r^L]".

      What is going on there? I already checked that Reflection.class is generated (it is and is in ~), thus Reflection.java was in ~/.vim/autoload/ (likewise was javacomplete.vim and java_parser.vim).

      I'm on Mac OS 10.7 with vim 7.3.

      Thanks in advance,

      Phillip

      --
      You received this message from the "vim_mac" 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
    Your message has been successfully submitted and would be delivered to recipients shortly.