Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331941 - [xtext.ui, quickfix] Provide more quickfixes for missing rules
Summary: [xtext.ui, quickfix] Provide more quickfixes for missing rules
Status: RESOLVED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext Backlog (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: v2.23
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 14:49 EST by Sebastian Zarnekow CLA
Modified: 2020-08-28 04:08 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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