Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [xtend] Tooling Improvement Proposals
[xtend] Tooling Improvement Proposals [message #761840] Wed, 07 December 2011 06:48 Go to next message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 289
Registered: July 2009
Senior Member

Hi,

just a few thoughts. I'm using xtend for some parts of my test suite and there I use breakpoints quite a lot.

1.
I guess supporting breakpoints in xtend would be too much to expect but is it be possible to add the corresponding java editor on a second page in a Multipage editor (maybe only enabled as option in preferences)?

2.
Breakpoints don't get updated when new source code is generated. The old breakpoints become useless when adding new methods since the offset moves the breakpoint even out of the method it was initially set. Not sure whether removing the old ones is better than letting them where they are. Also, the markers in editor are not in sync with the real position the debugger uses. Maybe the latter is the worst.

3.
Another issue I experienced were complex type cast error that occur in Java-generated code but were not highlighted in the xtend editor. Probably worth a bug report I guess.

4.
An option "completion overwrites" -or- "completion inserts" would be nice.

Anyway, it's fun to write your test suite with xtend!


Re: [xtend] Tooling Improvement Proposals [message #761910 is a reply to message #761840] Wed, 07 December 2011 09:06 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3107
Registered: July 2009
Senior Member
Hi Marcel,

thanks for the feedback.

We will be working on debugging support for Xtend soon. The breakpoint
issues will become obsolete with that.

We are aware of the fact that cast expressions are currently not
validated to a 100%. However, if you have concrete examples, a comment
on https://bugs.eclipse.org/bugs/show_bug.cgi?id=342007 would be nice.

4) Please file a ticket. You are aware of the fact that ctrl allows to
toggle this option after you've invoked content assist?

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

Am 07.12.11 07:48, schrieb Marcel Bruch:
> Hi,
>
> just a few thoughts. I'm using xtend for some parts of my test suite and
> there I use breakpoints quite a lot.
>
> 1. I guess supporting breakpoints in xtend would be too much to expect
> but is it be possible to add the corresponding java editor on a second
> page in a Multipage editor (maybe only enabled as option in preferences)?
>
> 2.
> Breakpoints don't get updated when new source code is generated. The old
> breakpoints become useless when adding new methods since the offset
> moves the breakpoint even out of the method it was initially set. Not
> sure whether removing the old ones is better than letting them where
> they are. Also, the markers in editor are not in sync with the real
> position the debugger uses. Maybe the latter is the worst.
>
> 3.
> Another issue I experienced were complex type cast error that occur in
> Java-generated code but were not highlighted in the xtend editor.
> Probably worth a bug report I guess.
>
> 4.
> An option "completion overwrites" -or- "completion inserts" would be nice.
>
> Anyway, it's fun to write your test suite with xtend!
>
>
>
Previous Topic:[Xtend] How to access class object?
Next Topic:creating an Extension Library (documentation?)
Goto Forum:
  


Current Time: Mon Mar 30 11:30:09 GMT 2020

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

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

Back to the top