| Summary: | Unhelpful pop-ups for quickfix failures | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Ed Willink <ed> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 2.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Ed Willink
Could you please elaborate why the NPE in RootPackageCSScopeAdapter.computeLookup is a bug in the Xtext hover implementation? What would you expect to happen? No popup? (In reply to comment #1) > Could you please elaborate why the NPE in > RootPackageCSScopeAdapter.computeLookup is a bug in the Xtext hover > implementation? What would you expect to happen? No popup? The NPE in my code is clearly my bug, but it is an example of bad user code that the Xtext framework could handle more gracefully. I suggested either - eliminate the popup when errors occur during Quickfix option listing - a details button in the popup so that the stack trace can be examined Another option, catch the exception and offer a quickfix such as <error icon> Unrecognisable quickfix - Details with Details an underlined hyperlink to the stack trace. |