Open Charles-Johnson opened 3 years ago
qp-trie-rs has a nice API but doesn't support String
keys
Could use std::collections::BTreeMap
's range
method to effectively get the labels prefixed by a given string.
As well as autocompleting after user has partially typed an existing label, suggestions could be given based on the syntax surrounding the text cursor to suggest a label whose pairing with one of the neighbouring syntax is an existing concept
This will be easier to implement after #52
Can store the labels of concepts in a trie data structure to suggest labels when e.g. tab is pressed in izia