Add other link text to autocomplete dropdown

Use case or problem

I have a few links to a page that I’ve not created yet.
[[foo|The foo]] are [[foo|fooing]] [[foo|flubariously]].

When I type [[foo| next time, it is likely I want one of these texts as an autocomplete, and so they should appear in my auto-complete dropdown, even though the page (and the aliases) have not been created yet.

Proposed solution

Add all text parts of internal links that point to the same target to the autocomplete index for that target.
In many ways, that reduces the need to create aliases and makes the process more dynamic.

Current workaround (optional)

Lots of typing

4 Likes