Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364705 - ProposalProvider does not propose braces if using xbase
Summary: ProposalProvider does not propose braces if using xbase
Status: CLOSED WORKSFORME
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-24 06:23 EST by Andreas Muelder CLA
Modified: 2017-09-19 18:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Muelder CLA 2011-11-24 06:23:04 EST
Build Identifier: 20110916-0149

If a grammar is derived from XBase, the proposal provider does not provide braces 
anymore. ( '{', '(', '[' .... ) 


	


Reproducible: Always

Steps to Reproduce:
1. Create a new Grammar derived from XBase:
2. Create a simple model 
Model:	{Model} 'model' '{' '}' ;	
3. In the runtime editor, put the cursor after 'model' and hit CTRL + space
Comment 1 Andreas Muelder CLA 2011-11-24 06:44:22 EST
The reason for that is the method XBaseProposalProvider#isKeywordWorthyToPropose()
It filters all keywords with a length <= 1. What is the intention for that?

Overriding this method in my own ProposalProvider does work for me.
Comment 2 Sven Efftinge CLA 2011-11-24 06:50:13 EST
Sorry, I forgot about it.
Comment 3 Karsten Thoms CLA 2017-09-19 18:07:38 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 18:17:14 EDT
Closing all bugs that were set to RESOLVED before Neon.0