Like Scala, Xtend allows to omit "obvious" semicolons. Of course, this can lead to ambiguity in some corner cases. Scala-IDE has added a button to show/hide inferred semicolons, much like Eclipse's button to show/hide whitespace:
You could file a feature request in bugzilla (you'll find the link on the website).
Please also provide us with a typical scenario where such a feature helps you.
Thanks,
Sven
On Nov 11, 2012, at 2:29 PM, Lukas Eder <lukas.e...@gmail.com> wrote:
> Like Scala, Xtend allows to omit "obvious" semicolons. Of course, this can lead to ambiguity in some corner cases. Scala-IDE has added a button to show/hide inferred semicolons, much like Eclipse's button to show/hide whitespace:
> In the attached image, the first and third import statements omit the semi-colon, whereas the second one explicitly has a semi-colon. I think, such a button would be useful for Xtend as well...
> You could file a feature request in bugzilla (you'll find the link on the > website). > Please also provide us with a typical scenario where such a feature helps > you.
> Thanks, > Sven
> On Nov 11, 2012, at 2:29 PM, Lukas Eder <lukas...@gmail.com <javascript:>> > wrote:
> Hello,
> Like Scala, Xtend allows to omit "obvious" semicolons. Of course, this can > lead to ambiguity in some corner cases. Scala-IDE has added a button to > show/hide inferred semicolons, much like Eclipse's button to show/hide > whitespace:
As a matter of fact, I just realised that such a feature is much more useful with Scala than with Xtend right now, as Scala allows for omitting much more than just semi-colons. I guess Scala-IDE have added this feature to help decrypting statements where lots dots and parentheses are omitted as well...
Adding it to Xtend might just be purely cosmetic...
Am Sonntag, 11. November 2012 19:32:21 UTC+1 schrieb Lukas Eder:
> Am Sonntag, 11. November 2012 18:37:25 UTC+1 schrieb Sven Efftinge:
>> You could file a feature request in bugzilla (you'll find the link on the >> website). >> Please also provide us with a typical scenario where such a feature helps >> you.
>> Thanks, >> Sven
>> On Nov 11, 2012, at 2:29 PM, Lukas Eder <lukas...@gmail.com> wrote:
>> Hello,
>> Like Scala, Xtend allows to omit "obvious" semicolons. Of course, this >> can lead to ambiguity in some corner cases. Scala-IDE has added a button to >> show/hide inferred semicolons, much like Eclipse's button to show/hide >> whitespace: