| Summary: | create tasks directly from code | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Frank Musolf <frank.musolf> | ||||
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> | ||||
| Status: | CLOSED MOVED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | mjmeijer | ||||
| Version: | 3.9 | Keywords: | helpwanted | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Frank Musolf
This sounds like a good idea, similar to the "new task from failure" command for JUnit. Due to time constraints we are unable to implement this at the moment. The bug has been marked helpwanted though to indicate that we would be happy to support a community contribution to resolve it. There is already code for a NewTaskFromSelectionAction that is only active while a TaskEditor is open. It appears to me that this request is just a matter of adding this action to plugin.xml and making rules that require a TextSelection to be present. Similarly you could state that when a StructuredSelection is present, one should also be able to copy that as text into a task. This would require an AdapterFactory where a StructuredSelection can be converted to a TextSelection, possibly using the LabelProviders of the active view. Created attachment 240690 [details]
mylyn/context/zip
Getting the class name, method name, and line number would be more involved. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |