mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 11:41:56 +03:00
67bcf6ae07
SuggestionDb refactoring to facilitate documentation panel development and other features. Now SuggestionDb uses `ReactiveDb` + `ReactiveIndex`es under the hood. There are no visual changes to the IDE. Everything still works the same. You can now use two reactive indexes built on top of the SuggestionDb: 1. `db.nameToId` is a `QualifiedName→SuggestionId` relation. Reverse lookup allows you to get the qualified name by ID. 2. `db.parent` is a `SuggestionId→SuggestionId` relation, representing parent-children relations between entries. The rules are the following: - If the `memberOf` field is present, it is used as a parent. - Otherwise, a parent’s qualified name is used (through the `qnParent` function) You can use reverse lookup to get the children of the entry. You can easily add your own indexes if needed. |
||
---|---|---|
.. | ||
gui | ||
gui2 | ||
ide-desktop |