Static members not listed when autocompleting from within same class
Qix- opened this issue · comments
Josh Junon commented
Actual behavior
Static method does not get suggested when inside same class:
Expected behavior
Static method is listed.
The steps to reproduce actual behavior (Required!)
- Start with this code:
class Foo {
public static void main(String[] args) {
System.out.println("Hello from main()");
}
private static void sayHi() {
System.out.println("Hello from sayHi()");
}
}
- Create a new line between 3 and 4
- Type
Foo.
and observe.
Environment (Required!)
- OS: MacOS 10.14
- Neovim version: v0.3.0
Q&A
- Yes, I tried minimal .vimrc configuraion.
- Yes, I have enabled logs with
JCdebugEnableLogs
and can put here content ofJCdebugGetLogContent
command, if you need. - Even, if you wish, I can set
g:JavaComplete_JavaviLogLevel
to'debug'
, then setg:JavaComplete_JavaviLogDirectory
, and put here server logs, too.
Josh Junon commented
It should be noted that private non-static members work just fine.
EDIT: Seems to do the same thing with public static members as well; the visibility of the static member doesn't seem to matter.
Josh Junon commented
Hey, thanks @artur-shaik
Artur Shaik commented
You are welcome!
…On 01-03 (02:19), Qix wrote:
Hey, thanks ***@***.*** ❤️
—
You are receiving this because you were mentioned.
Reply to this email directly, [2]view it on GitHub, or [3]mute the thread.
References
Visible links
1. https://github.com/artur-shaik
2. #414 (comment)
3. https://github.com/notifications/unsubscribe-auth/AEozuz5ZMSID_iDf56WgtJqvY-mMBtUcks5u_dkbgaJpZM4ZmFK0
--
Best regards,
Artur Shaikhullin