artur-shaik / vim-javacomplete2

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

maven project cant import class from dependencies #465

Closed ShenFeng312 closed 2 years ago

ShenFeng312 commented 2 years ago

Actual behavior (Required!)

show home/shenfeng/work/myvimdemo src/main/java/com/example/myvimdemo/MyvimdemoApplication.java 6,4 全部 JavaComplete: classname 'SpringBootApplication' not found in any scope.

Expected behavior (Required!)

success to import SpringBootApplication

The steps to reproduce actual behavior (Required!)

1.use IDEA create a springboot project 2.use vim open the project root path 3 open MyvimdemoApplication and use F4

Environment (Required!)

Q&A

Screenshot (Optional)

The output of :redir and :message (Optional)

ShenFeng312 commented 2 years ago

image

ShenFeng312 commented 2 years ago

my vim config image

ShenFeng312 commented 2 years ago

:echo g:JavaComplete_PomPath

result empty

:echo g:JavaComplete_LibsPath result .

ShenFeng312 commented 2 years ago

and how can i use it with out C-X C-O

artur-shaik commented 2 years ago

Please consider using jc.nvim