Finding package imports with javac #3677
Answered
by
alt-romes
alt-romes
asked this question in
Q&A - Ask for help with problems
-
Beta Was this translation helpful? Give feedback.
Answered by
alt-romes
Apr 20, 2021
Replies: 1 comment
-
I was able to fix this by editing |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alt-romes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to fix this by editing
let l:src_dir = ale#path#FindNearestDirectory(a:buffer, 'src/main/java')
tolet l:src_dir = ale#path#FindNearestDirectory(a:buffer, 'src')
inale_linters/java/javac.vim
.It would be better to be able to specify the source directories to find.
I could try doing this but I don't know vim script at all, and this shouldn't be too hard for anyone else who knows this - to add an config option that changes the source path(s) to find.