Skip to content

Content assist does not work for common prefix rules #1370

@cdietrich

Description

@cdietrich

given the grammar

entry Model:
    (persons+=Person | greetings+=Greeting)*;

Person:
    'person' name=ID;

Greeting:
    GreetingByName | GreetingByAlias;


GreetingByName: 
    'hello' person=[Person:ID];

GreetingByAlias:
    'hello' alias=ID (':' data=PersonRef ('{'
        
    '}')?);

PersonRef:
    person=[Person:ID];

content assist does not work at

person Aaaaa

hello a : |

not at

person Aaaaa

hello a : A|

Metadata

Metadata

Assignees

No one assigned

    Labels

    completionCompletion related issue

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions