Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Switch off automatic validation
Switch off automatic validation [message #734756] Sun, 09 October 2011 19:53 Go to next message
Andrey Mising name is currently offline Andrey Mising nameFriend
Messages: 26
Registered: September 2011
Junior Member
Hi everyone,

Can you please help me with two questions:

1. Is it possible to switch off automatic validation? (So even if an error is made it is not marked red).
2. Is it possible to make outline proceed even if an error is detected? (Like in JAVA. If an error is in one method, the rest of the class is still shown).

Thank you
Andrey
Re: Switch off automatic validation [message #734785 is a reply to message #734756] Sun, 09 October 2011 22:24 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
1. You can supply your own validator, it can do whatever you want.
2. The outline is built out of what was parsed - if there are errors,
the result may not be what is expected (naturally), but otherwise, yes.

- henrik

On 10/9/11 9:54 PM, Andrey wrote:
> Hi everyone,
>
> Can you please help me with two questions:
>
> 1. Is it possible to switch off automatic validation? (So even if an
> error is made it is not marked red).
> 2. Is it possible to make outline proceed even if an error is detected?
> (Like in JAVA. If an error is in one method, the rest of the class is
> still shown).
>
> Thank you Andrey
Previous Topic:Customizing XtextSourceViewer
Next Topic:Opposite references not working
Goto Forum:
  


Current Time: Wed Apr 24 15:31:33 GMT 2024

Powered by FUDForum. Page generated in 0.03210 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top