Skip to content

Parent&child providers help required #173

@distractor

Description

@distractor

Hi,

This isn't really in issue but more of a "how to question".

Let's assume I wanted to type box:statistic("area"). And my wish is to trigger autocomplete on three different places. Starting with an empty line:

  • b should I guess show everything that starts with b including box:. Then I press ENTER to confirm.
  • my text is box: which should (immediately) trigger&show the second autocomplete, containing for example property(, property_at( and statistic(. So if my text is box:s the autocomplete should show only box:statistic(. I press ENTER again
  • My text is now box:statistic( which should trigger a final provider with a list of suggestions "stat1", "stat2".

Is building such hierarchy possible? Is there some example code somewhere or could it be briefly explained how to do it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions