You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a provider that supplies multiple suggestions that share the same text property, but that are in fact different suggestions. However, autocomplete-plus seems to be filtering them out. If I prefix them with something to ensure they are unique strings, they suddenly do show up. This behavior seems unwanted as it's the provider's responsibility to ensure the suggestions are unique when they need to be, i.e. it would be bug in my code.
(More information about my specific use case:) I'm autocompleting PHP class names using their FQCN (fully qualified class name, separated by slashes) such as Foo\Class1 and Foo\Bar\Class1. These full names are passed as displayText, but when the user selects the suggestion, I only complete the last part of the class name. A use (import) statement is then automatically added on top. Hence, Foo\Class1 and Foo\Bar\Class1 will both share the same text property, but a different displayText, and they will also be treated differently on onDidInsertSuggestion.
Hello
I have a provider that supplies multiple suggestions that share the same
textproperty, but that are in fact different suggestions. However, autocomplete-plus seems to be filtering them out. If I prefix them with something to ensure they are unique strings, they suddenly do show up. This behavior seems unwanted as it's the provider's responsibility to ensure the suggestions are unique when they need to be, i.e. it would be bug in my code.(More information about my specific use case:) I'm autocompleting PHP class names using their FQCN (fully qualified class name, separated by slashes) such as
Foo\Class1andFoo\Bar\Class1. These full names are passed asdisplayText, but when the user selects the suggestion, I only complete the last part of the class name. A use (import) statement is then automatically added on top. Hence,Foo\Class1andFoo\Bar\Class1will both share the sametextproperty, but a differentdisplayText, and they will also be treated differently ononDidInsertSuggestion.Thanks in advance