Closed noenthu closed 7 years ago
There is variable g:JavaComplete_ClasspathGenerationOrder
. You can change order like this:
let g:JavaComplete_ClasspathGenerationOrder = ['Maven', 'Eclipse', 'Gradle']
This should fix you issue.
Let me test it out. I'll get back shortly.
@noenthu not so shortly :smile:
Feel free to reopen.
@artur-shaik sorry for not getting back. Confirming that the order change fixed my issue!
Actual behavior (Required!)
Please pardon my lack of experience with Java On an existing project - managed using maven
The autocomplete feature is not triggering unless I remove/rename the .classpath
with .classpath present :echo g:JavaComplete_LibsPath .:/home/noenthu/workspace/project/target/classes:/home/noenthu/workspace/project/target/test-classes:/home/noenthu/workspace/project/target/classes
after removing/renaming the .classpath :echo g:JavaComplete_LibsPath ./home/noenthu/.m2/repository..................................
Expected behavior (Required!)
Completion should work leveraging the classpath that is generated by Maven and ignore that set in .classpath
The steps to reproduce actual behavior (Required!)
Environment (Required!)
Q&A
JCdebugEnableLogs
and can put here content ofJCdebugGetLogContent
command, if you need.g:JavaComplete_JavaviDebug
to1
, than setg:JavaComplete_JavaviLogfileDirectory
, and put here server logs, too.