Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Turning syntax checking off
Turning syntax checking off [message #976544] Thu, 08 November 2012 12:05 Go to next message
sanda dedeic is currently offline sanda dedeic
Messages: 5
Registered: November 2012
Junior Member
Hi all,

We've created an assembly editor using Xtext and we're going to use an external assembler which should fill the problems/errors views and put error markers in the editor.

So is it possible to turn off the built in syntax checking and call external assembler on save action?

Thanks in advance,
Sanda
Re: Turning syntax checking off [message #976651 is a reply to message #976544] Thu, 08 November 2012 13:52 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian Zarnekow
Messages: 2807
Registered: July 2009
Senior Member
Am 08.11.12 19:03, schrieb sanda dedeic:
> Hi all,
>
> We've created an assembly editor using Xtext and we're going to use an
> external assembler which should fill the problems/errors views and put
> error markers in the editor.
>
> So is it possible to turn off the built in syntax checking and call
> external assembler on save action?
>
> Thanks in advance,
> Sanda
>

You could implement the IResourceValidator and delegate to your external
tool if you like.

Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: Turning syntax checking off [message #977567 is a reply to message #976651] Fri, 09 November 2012 06:36 Go to previous messageGo to next message
sanda dedeic is currently offline sanda dedeic
Messages: 5
Registered: November 2012
Junior Member
Thanks a lot for so quick response, I'll try what you've suggested.

Thanks,
Sanda
Re: Turning syntax checking off [message #989116 is a reply to message #976651] Tue, 04 December 2012 11:48 Go to previous message
Indiana Jones is currently offline Indiana Jones
Messages: 2
Registered: December 2012
Junior Member
Sebastian Zarnekow wrote on Thu, 08 November 2012 13:52
Am 08.11.12 19:03, schrieb sanda dedeic:
> Hi all,
>
> We've created an assembly editor using Xtext and we're going to use an
> external assembler which should fill the problems/errors views and put
> error markers in the editor.
>
> So is it possible to turn off the built in syntax checking and call
> external assembler on save action?
>
> Thanks in advance,
> Sanda
>

You could implement the IResourceValidator and delegate to your external
tool if you like.


How do I do that? How do I register my own implementation?

[Updated on: Tue, 04 December 2012 11:50]

Report message to a moderator

Previous Topic:Custom IResourceValidator
Next Topic:Error parsing model files in Linux
Goto Forum:
  


Current Time: Thu Apr 24 14:47:36 EDT 2014

Powered by FUDForum. Page generated in 0.01666 seconds