vim-javacomplete2
vim-javacomplete2 copied to clipboard
maven project cant import class from dependencies
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!)
- OS:unubtu 20.4
- Vim version:IM - Vi IMproved 8.1 (2018 May 18, compiled Feb 01 2022 09:16:32)
- Neovim version:
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.
Screenshot (Optional)
The output of :redir and :message (Optional)
my vim config
:echo g:JavaComplete_PomPath
result
empty
:echo g:JavaComplete_LibsPath
result .
and how can i use it with out C-X C-O
Please consider using jc.nvim