Hi,
Your validator should implement
org.jboss.tools.common.validation.IJavaElementValidator if you want to
enable as-you-type validation for java elements
and/or org.jboss.tools.common.validation.IStringValidator if you want to
enable this validation for all strings of the file. See CDICoreValidator
as an example.
On 06/03/2014 07:20 AM, Xavier Coulon wrote:
Hello,
My JAX-RS validator is based on our
org.jboss.tools.common.validation.ValidationErrorManager, but it is
currently triggered when the user saves a file or during a full build,
only.
What I would like to try is to have "as-you-type" validation, so that
problem markers can be added/removed without having to wait for the
next build, just like JDT does. Is there a way to configure the
validator to get this behaviour, or is it a limitation of the WST
Validator ?
Thanks.
Best regards,
/Xavier
_______________________________________________
jbosstools-dev mailing list
jbosstools-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev