Oleg Tkachenko
Oleg Tkachenko
Given that [IAsyncCompletionSource.TryGetApplicableSpan()](https://github.com/Microsoft/vs-editor-api/wiki/Modern-completion-API#trygetapplicablespantypechartriggerlocationapplicablespan-method--) is called on UI thread and can potentially affect typing perf it should at least provide a cancellation token, which you can hookup to the commanding cancellation...
Please document a recommended way to provide UI in GetDescriptionAsync(). I think it's going to be pretty popular question.
Please clarify if IAsyncCompletionCommitManager is required or optional.
Overall 🥇
It's not a crash so I don't have a repro, but I thought it should be trivial to repro the exception by just running a build. This issue is detected...
Yeah, you are right, plain text is too wide. I don't know off hand any better option, but there must be some way, perhaps through IExtensibleObject.
It seems like it's still possible per [documentation](https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.language.intellisense.asynccompletion.iasynccompletionsource.getdescriptionasync?view=visualstudiosdk-2022): "The returned object will be rendered by [IViewElementFactoryService](https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.text.adornments.iviewelementfactoryservice?view=visualstudiosdk-2022). See its documentation for default supported types. You may export a [IViewElementFactory](https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.text.adornments.iviewelementfactory?view=visualstudiosdk-2022) to provide...
Please file a bug via Help/Send Feedback/Report a Problem. It looks like a bug as it was possible before.
it's not exactly by design, either way it's a take back from previous completion extensibility API so please file a feedback ticket via Help/Send Feedback/Report a Problem or file create...