Xtext from Modelling package issues [message #53363] |
Fri, 26 June 2009 17:22  |
Eclipse User |
|
|
|
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 14:30   |
Eclipse User |
|
|
|
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 #54358 is a reply to message #54331] |
Wed, 01 July 2009 02:36  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03265 seconds