[jbosstools-dev] "As-you-type" validation for JAX-RS classes

Alexey Kazakov akazakov at exadel.com
Tue Jun 3 13:08:22 EDT 2014


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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20140603/74672547/attachment.html 


More information about the jbosstools-dev mailing list