devonfw / cobigen

Code-based Incremental Generator
Apache License 2.0
36 stars 72 forks source link

remove annoying popups #126

Open hohwille opened 9 years ago

hohwille commented 9 years ago

CobiGen shows two popups on generation such as "The selection contains no compilation units" and especially "Contents from X templates have been generated". I want to generate code and not confirm pointless popups. If these information is of any use for somebody, keep the wizard open and add a step to it for the actual generation so you can show a last page with the summary (e.g. "Y files from X templates have been generated") that can be omitted if one just clicks on finish.

maybeec commented 9 years ago

Two issues have to be differentiated

  1. "The selection contains no compilation units": is caused by the organize imports action of eclipse. Maybe we can check the selection for compilation units before triggering the organize imports action to suppress this popup.
  2. "Contents from X templates have been generated": I wanted to have some feedback, that generation has been finished successfully. I am fine with the idea to have an optional summary report in the wizard or at least print some more log entries.
github-actions[bot] commented 4 years ago

Stale topic. Please negotiate closing or discussing the relevance of this ticket.