vim-javacomplete2 icon indicating copy to clipboard operation
vim-javacomplete2 copied to clipboard

maven project cant import class from dependencies

Open ShenFeng312 opened this issue 2 years ago • 4 comments

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 of JCdebugGetLogContent command, if you need.
  • Even, if you wish, I can set g:JavaComplete_JavaviLogLevel to 'debug', then set g:JavaComplete_JavaviLogDirectory, and put here server logs, too.

Screenshot (Optional)

The output of :redir and :message (Optional)

ShenFeng312 avatar Jul 18 '22 06:07 ShenFeng312

image

ShenFeng312 avatar Jul 18 '22 06:07 ShenFeng312

my vim config image

ShenFeng312 avatar Jul 18 '22 06:07 ShenFeng312

:echo g:JavaComplete_PomPath

result empty

:echo g:JavaComplete_LibsPath result .

ShenFeng312 avatar Jul 18 '22 06:07 ShenFeng312

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

ShenFeng312 avatar Jul 18 '22 06:07 ShenFeng312

Please consider using jc.nvim

artur-shaik avatar Sep 15 '22 06:09 artur-shaik