enso/app/gui/language
Galin Bajlekov b8158d0af3
Match component browser entries by alias (#5678)
Closes #5340

This PR adds matching searched component browser entries by alias. Now the searcher input is also matched to the `ALIAS` tags of a component, and the best match is used for filtering and sorting the components in the component browser. The alias match scores are reduced by a factor to give them a lower priority when sorting filtered entries in the component browser.

Multiple aliases for a single entry can be obtained from either multiple `ALIAS` tags in the documentation, or comma-separated aliases inside one `ALIAS` tag.

When the searcher input matches one of the entry's aliases the entry in the component browser is displayed as `alias (label)`.

https://user-images.githubusercontent.com/117099775/220571385-d6c2aba6-f13b-4517-9cdf-fe146eeb751a.mp4
2023-02-23 15:40:38 +00:00
..
ast Match component browser entries by alias (#5678) 2023-02-23 15:40:38 +00:00
parser Port graph editor to new AST (#4113) 2023-02-10 18:05:40 +00:00
parser-scala Fixing Electron runner (#5633) 2023-02-19 01:37:58 +01:00
span-tree Support widgets and placeholders in more complex expressions (#5656) 2023-02-20 06:39:39 +00:00