46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
*vim-java-validate* *:Validate_java*
|
|
|
|
|
|
Java Validation
|
|
***************
|
|
|
|
When saving a java source file that resides in a project, eclim will
|
|
update that source file in Eclipse and will report any validation
|
|
errors found. Any errors will be placed in the current window's
|
|
location list (:help location-list) and the corresponding lines in the
|
|
source file will be marked via Vim's :sign functionality with '>>'
|
|
markers in the left margin.
|
|
|
|
Automatic validation of java source files can be disabled via the
|
|
g:EclimJavaSrcValidate variable (described below). If you choose to
|
|
disable automatic validation, you can still use the :Validate command
|
|
to manually validate the current file.
|
|
|
|
|
|
Configuration
|
|
=============
|
|
|
|
Vim Variables
|
|
|
|
*g:EclimJavaSrcValidate*
|
|
|
|
- g:EclimJavaSrcValidate (Default: 1) - If set to 0, disables source
|
|
code validation.
|
|
|
|
- g:EclimValidateSortResults (Default: 'occurrence') - If set to
|
|
'severity', the validation results will be sorted by severity
|
|
(errors > warnings > info > etc.)
|
|
|
|
Eclim settings
|
|
|
|
*org.eclipse.jdt.core.compiler.source*
|
|
|
|
- org.eclipse.jdt.core.compiler.source - Determines the target java vm
|
|
version (1.2, 1.3, 1.4, 1.5).
|
|
|
|
*org.eclim.java.validation.ignore.warnings*
|
|
|
|
- org.eclim.java.validation.ignore.warnings - Determines if warnings
|
|
are suppressed.
|
|
|
|
vim:ft=eclimhelp |