artur-shaik / vim-javacomplete2

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

Classname not found in any scope for android.jar methods #390

Closed lem0nez closed 5 years ago

lem0nez commented 6 years ago

Actual behavior (Required!)

When I try to complete any method from android.jar file, in class, which extends any from android.jar (other libraries I'm not tested), I'm getting message: JavaComplete: classname 'methodName' not found in any scope (but method avaible in popup menu). And, when I try to complete parameters for this method, I'm getting errors (see below :message). If typing method using any object (using operator dot), then all OK.

Expected behavior (Required!)

Methods from Android framework should complete correctly, without errors, if not used this. or any object.

The steps to reproduce actual behavior (Required!)

  1. Open java file with class, which extends any from Android library.
  2. Typing any android.jar method, not using for it this. or object.
  3. Select it from popup menu (first error).
  4. Try to complete parameters of this method by pressing <C-X><C-O> (second error).

Environment (Required!)

Q&A

The output of :redir and :message (Optional)

:message pastebin

Sorry for my bad English.

artur-shaik commented 5 years ago

Is this issue still relevant for you? Can you try with latest version.

lem0nez commented 5 years ago

@artur-shaik, not relevant anymore after updating. Thank you!