Prevent the autocompleter from adding duplicate autocomplete suggestions

The current type solver and autocompleter tries to fill in unknown types and values by looking at what youve written before, this is normally a useful behavior, but when making plugins that provide autocomplete values, this clashes and results in duplicate instances of the same value.

I am unsure if this is something that can even be solved, but I would imagine this isn’t ideal behavior.

Expected behavior

I would expect the autocompleter to not suggest duplicate details in cases where it is trying to autofill unknown values if there is already a provided detail with that name.

1 Like