Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Automatic validation is not performed
Automatic validation is not performed [message #774437] Tue, 03 January 2012 23:14 Go to next message
Adam Missing name is currently offline Adam Missing nameFriend
Messages: 12
Registered: December 2011
Junior Member
I'm writing a coffeescript plugin. The project explorer doesn't show any warning/error for files, not even when I build the project. When I open a coffee file, no warning/error gets displayed, no automatic validation seems to be performed. Only when I change the file, is validation performed and warnings/errors displayed.

Does it depend on a configuration? I expected it to be done automatically. Or did I overlook something?
Re: Automatic validation is not performed [message #774443 is a reply to message #774437] Tue, 03 January 2012 23:27 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 2012-04-01 24:14, Adam wrote:
> I'm writing a coffeescript plugin. The project explorer doesn't show any
> warning/error for files, not even when I build the project. When I open
> a coffee file, no warning/error gets displayed, no automatic validation
> seems to be performed. Only when I change the file, is validation
> performed and warnings/errors displayed.
>
> Does it depend on a configuration? I expected it to be done
> automatically. Or did I overlook something?

The project must have the Xtext nature turned on to be included in
builds. Does your project have that?

- henrik
Re: Automatic validation is not performed [message #774458 is a reply to message #774443] Wed, 04 January 2012 00:15 Go to previous messageGo to next message
Adam Missing name is currently offline Adam Missing nameFriend
Messages: 12
Registered: December 2011
Junior Member
It's turned on manually.

Adam
Re: Automatic validation is not performed [message #774476 is a reply to message #774458] Wed, 04 January 2012 01:23 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 2012-04-01 1:15, Adam wrote:
> It's turned on manually.
>
I have these in my mwe

// scoping and exporting API
fragment = scoping.ImportNamespacesScopingFragment {}
fragment = exporting.QualifiedNamesFragment {}
fragment = builder.BuilderIntegrationFragment {}

It was a while since I set that up, so don't know if that is the current
way...

- henrik
Re: Automatic validation is not performed [message #774631 is a reply to message #774437] Wed, 04 January 2012 10:05 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Adam,

please double check that the plugin.xml files are in sync with
plugin.xml_gen

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 04.01.12 00:14, schrieb Adam:
> I'm writing a coffeescript plugin. The project explorer doesn't show any
> warning/error for files, not even when I build the project. When I open
> a coffee file, no warning/error gets displayed, no automatic validation
> seems to be performed. Only when I change the file, is validation
> performed and warnings/errors displayed.
>
> Does it depend on a configuration? I expected it to be done
> automatically. Or did I overlook something?
Previous Topic:Infer static block
Next Topic:Automatic import of well-known functions
Goto Forum:
  


Current Time: Fri Apr 26 14:26:28 GMT 2024

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

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

Back to the top