| Summary: | [xtend] Project setting for disabling automatic java code generation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Daniel Mising name <danielku15> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | christian.dietrich.opensource, evoinov, sven.efftinge | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 353463 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Daniel Mising name
Created attachment 202500 [details]
Example Project containing big xtend templates
Thanks for the test data. We are aware of the bad build performance of Xtend and have already improved the performance of it significantly (compared to 2.0.1). Note that the actual generation of Java code is not the problem, but the linking. I checked your project with the latest build and it takes around 2.5 secs to build one of the mentioned files on my machine. A clean build of the whole project takes around 4 secs. My machine might be a bit faster then yours though. We have further ideas for improvements and want to go that way instead of disabling indexing for Xtend. Because then you'll end up with all kind of surprising behavior. So that's not an option. You could try the latest builds but it might contain a bug or something. Also the provisional APIs might have changed. If you can't or don't want to upgrade you might want to try disabling automatic project build in your IDE. Sorry for the inconvenience. I close this bug, for the reasons mentioned above, but please note that the test data was really helpful and that we of course take the mentioned performance problems extremely seriously (we've faced them ourselves on a daily basis and know how annoying that is). Feel free to comment further. I have the same issue and working with .xtend files in IDEA is terrible, because every symbol input causes "Code generation..." task in IDEA tray (with temporary losing code highlighting). Problem is not in speed of generation (fast enough) - I'm talking about frequency of this! Beg you, add setting to disabling code generation! Requested via bug 522520. -M. |