Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext from Modelling package issues
Xtext from Modelling package issues [message #53363] Fri, 26 June 2009 21:22 Go to next message
Krzysztof Kowalczyk is currently offline Krzysztof KowalczykFriend
Messages: 113
Registered: July 2009
Senior Member
So I downloaded the Galileo modelling GA package and:

- there is no documentation for Xtext, Xpand
- documentation for MWE is not working
- there are some examples (I can see FowlerDSL, EcoreDSL in
Preferences), but there is no UI to create them
- UI file creation contribution for new languages is not generated?
- there is "bad" icon for .xtext and .mwe files
- there is no outline for MWE
- outline is empty for xtend and xpand

- there is strange little bug. Sometimes when there had been an syntax
error in grammar, but it was corrected and code has no errors - there is
still red underline that did not disappeared. The code is correct, it
can be saved, edited in some other places, but the underline stays.
It will disappear after I edit the code exactly before the underlined
code. It happens quite often. (I use ANTLR)

Same issues with distro from Itemis, but documentation is ok there.

I guess that all those issues are well known? Or should I find a way to
reproduce the "underline" problem?

Regards,
Krzysztof Kowalczyk
Re: Xtext from Modelling package issues [message #53501 is a reply to message #53363] Sat, 27 June 2009 18:30 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Krzysztof,

thanks for detailed report. Some of the issues (see below) have already
been adressed and a fixed version is available in the itemis Xtext
distribution - as you already mentioned.

Am 26.06.2009 23:22 Uhr, schrieb Krzysztof Kowalczyk:
> So I downloaded the Galileo modelling GA package and:
>
> - there is no documentation for Xtext, Xpand
Fixed.
> - documentation for MWE is not working
Fixed.
> - there are some examples (I can see FowlerDSL, EcoreDSL in
> Preferences), but there is no UI to create them
This is a known issues which has not been adressed so far.
> - UI file creation contribution for new languages is not generated?
Please file a bugzilla, as this is an enhancement request. However, we
have a similar ticket. https://bugs.eclipse.org/bugs/show_bug.cgi?id=281214
> - there is "bad" icon for .xtext and .mwe files
What is a "bad" icon?
> - there is no outline for MWE
Please file a ticket.
> - outline is empty for xtend and xpand
Already fixed.
>
> - there is strange little bug. Sometimes when there had been an syntax
> error in grammar, but it was corrected and code has no errors - there is
> still red underline that did not disappeared. The code is correct, it
> can be saved, edited in some other places, but the underline stays.
> It will disappear after I edit the code exactly before the underlined
> code. It happens quite often. (I use ANTLR)
This is a known issue. However, it is not reliably reproducable. Please
file a ticket, so it doesn't get lost.
>
> Same issues with distro from Itemis, but documentation is ok there.
>
> I guess that all those issues are well known? Or should I find a way to
> reproduce the "underline" problem?

That whould be great :-)

>
> Regards,
> Krzysztof Kowalczyk

Thanks again for the report,
Sebastian
Re: Xtext from Modelling package issues [message #54331 is a reply to message #53501] Tue, 30 June 2009 23:31 Go to previous messageGo to next message
Krzysztof Kowalczyk is currently offline Krzysztof KowalczykFriend
Messages: 113
Registered: July 2009
Senior Member
Sebastian Zarnekow pisze:

> What is a "bad" icon?

Icon that look like property file icon not like an Xtext or Workflow icon ;)

> This is a known issue. However, it is not reliably reproducable. Please
> file a ticket, so it doesn't get lost.


How to reproduce "underline error".

So the general theme is to create a code and introduce an error that
will be displayed after the place that lead to the error. Then remove
the cause.

I am using xtext sample project "org.xtext.example.mydsl" without any
changes. Itemis distro is used, so that infer ANTLR.

Create sample project, run workflow, run Eclipse instance.
Create mydsl:

<code>
type String
type Int

entity One

}

entity Two{

}
</code>

code has error on line 6 as '{' is missing.
So we can add '{':

<code>
type String
type Int

entity One{

}

entity Two{

}
</code>

then there is no error in grammar but the '}' is still underlined.

I can change code before and after entity One and the underline is still
there:

<code>
type String
type Int
type NewType

entity OneOneOneOneOne{

}

entity Two{
property Prop :OneOneOneOneOne
}
</code>

If I change something inside entity One(after '{' and before '}') then
the underline disappear.

One can create another underline error by inserting and then removing
'{' after 'property Prop :OneOneOneOneOne'.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=282086

Regards,
Krzysztof Kowalczyk
Re: Xtext from Modelling package issues [message #54358 is a reply to message #54331] Wed, 01 July 2009 06:36 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Hi Krzysztof,

thanks for the detailed bug report.
Hopefully we can reproduce it, as we also saw this problem sometimes
(very seldom) but than never were able to reproduce it.

Thanks,
Sven

Krzysztof Kowalczyk schrieb:
> Sebastian Zarnekow pisze:
>
>> What is a "bad" icon?
>
> Icon that look like property file icon not like an Xtext or Workflow
> icon ;)
>
>> This is a known issue. However, it is not reliably reproducable.
>> Please file a ticket, so it doesn't get lost.
>
>
> How to reproduce "underline error".
>
> So the general theme is to create a code and introduce an error that
> will be displayed after the place that lead to the error. Then remove
> the cause.
>
> I am using xtext sample project "org.xtext.example.mydsl" without any
> changes. Itemis distro is used, so that infer ANTLR.
>
> Create sample project, run workflow, run Eclipse instance.
> Create mydsl:
>
> <code>
> type String
> type Int
>
> entity One
>
> }
>
> entity Two{
>
> }
> </code>
>
> code has error on line 6 as '{' is missing.
> So we can add '{':
>
> <code>
> type String
> type Int
>
> entity One{
>
> }
>
> entity Two{
>
> }
> </code>
>
> then there is no error in grammar but the '}' is still underlined.
>
> I can change code before and after entity One and the underline is still
> there:
>
> <code>
> type String
> type Int
> type NewType
>
> entity OneOneOneOneOne{
>
> }
>
> entity Two{
> property Prop :OneOneOneOneOne
> }
> </code>
>
> If I change something inside entity One(after '{' and before '}') then
> the underline disappear.
>
> One can create another underline error by inserting and then removing
> '{' after 'property Prop :OneOneOneOneOne'.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=282086
>
> Regards,
> Krzysztof Kowalczyk
Previous Topic:Workflow for GMF editor model
Next Topic:[Xtext] Problem with Rules without Model Elements
Goto Forum:
  


Current Time: Thu Jul 18 17:29:51 GMT 2024

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

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

Back to the top