| Summary: | quick fix to create not-yet-existing rules when working on grammar | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Dietmar Stoll <btickets> | ||||||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | CC: | clay, Holger.Schill, sebastian.zarnekow, sven.efftinge | ||||||||
| Version: | unspecified | Flags: | sebastian.zarnekow:
indigo+
|
||||||||
| Target Milestone: | M2 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Dietmar Stoll
Created attachment 176640 [details]
proposed patch with tests
Created attachment 176641 [details]
proposed patch with tests
fixed wrong package name to o.e.xtext.xtext.ui
Michael, thanks for the patch. Could you please remove the quick-fix for the fully qualified grammar name? I don't like the implementation of the validation rule and would rather reimplement that one based on the actual package fragments. A fix would thereby imply a package-rename which seems to be out of scope. Created attachment 176642 [details]
proposed patch with tests
removed quick-fix for the fully qualified grammar name
Scheduled for M2 to make sure the patch gets some attention. Very nice! :-) Only two things: 1) Please move the XtextGrammarLinkingDiagnosticMessageProvider to the runtime bundle "org.eclipse.xtext.xtext.XtextLinkingDiagnosticMessageProvider". 2) The enum fix seems to be meant to fix the empty literal by setting the id's name as keyword. However, when testing the keyword is just removed (Which is also ok, but the code looks different). fixed in HEAD Closing bug which were set to RESOLVED before Eclipse Neon.0. |