Yosi
Yosi

Reputation: 2966

Ignore vim java warnings

I am using the janus distro of vim and started to editing some java files.. I have some errors on the left, saying that it can't locate my packages..

enter image description here

Where are those errors are coming from? and how do I ignore those errors?

Upvotes: 0

Views: 435

Answers (1)

Kent
Kent

Reputation: 195089

I took a look (not so deeply) the Janus project, it used syntastic as syntax checker.

Java checker of Syntastic has a command :SyntasticJavacEditClasspath, which allows you to add your classpaths. Also it supports load cp from maven repositories. just take a look the https://github.com/scrooloose/syntastic/blob/master/syntax_checkers/java/javac.vim

hope it helps.

Upvotes: 2

Related Questions