Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331941

Summary: [xtext.ui, quickfix] Provide more quickfixes for missing rules
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: Xtext BacklogAssignee: Project Inbox <tmf.xtext-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.dietrich.opensource, miklossy
Version: 2.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: v2.23

Description Sebastian Zarnekow CLA 2010-12-06 14:49:45 EST
There is currently only one quickfix for a broken cross reference to a rule.
I'd prefer something like:

Create parser rule ...
Create enum rule ...
Create terminal rule ...
Create terminal fragment ...

where only the valid options for a given context are available, e.g. a missing rule for a rule call in a terminal rule will only provide option 3 and 4.
Comment 1 Tamas Miklossy CLA 2020-05-12 06:14:37 EDT
See also https://github.com/eclipse/xtext-eclipse/issues/1448
Comment 2 Christian Dietrich CLA 2020-08-28 04:08:22 EDT
Fixed in 2.23