artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim
Vim License
974 stars 83 forks source link

The plugin should report failure when it cannot import/autocomplete due to syntax errors. #367

Closed ym1234 closed 5 years ago

ym1234 commented 6 years ago

If I open a file with incorrect syntax, and try to import missing imports, the plugin silently fails instead of reporting the error/warning/notice.

Actual behavior (Required!)

Silently fails.

Expected behavior (Required!)

Report an error/warning/notice.

The steps to reproduce actual behavior (Required!)

  1. Open an file with syntax error.
  2. Try to import missing imports.

Environment (Required!)

Q&A

artur-shaik commented 6 years ago

Year, I agree. We should inform about this.

livingBEEF commented 6 years ago

It would be nice if it could populate location-list too. The ale plugin can already do that, but

wsdjeg commented 6 years ago

why localtion list is need, what info do you want to shown in it, and what should it done when you press Enter or run :lnext?

livingBEEF commented 6 years ago

My idea was something like error hinting that IDEs usually do, so it would populate location list with encountered errors (possibly also highlight the errors, if it's not too difficult). Another question is, whether it should leave it to the users how they use the location-list, or whether it should add its own line markings and such, but either would be fine with me.

wsdjeg commented 6 years ago

@livingBEEF Javacomplete is omni plugin for java, I do not think it should provides lint featurem you can use neomake which should support maven and grandle project. and the neomake's java lint is maintained by me.