未验证 提交 ee0f26ff 编写于 作者: A Allison Chou 提交者: GitHub

Add comment with to-do work item

上级 f2e07a58
...@@ -165,6 +165,8 @@ private bool HasAttributeSuffix(string value) ...@@ -165,6 +165,8 @@ private bool HasAttributeSuffix(string value)
private static string GetSpanText(Document document, TextSpan triggerSpan, CancellationToken cancellationToken) private static string GetSpanText(Document document, TextSpan triggerSpan, CancellationToken cancellationToken)
{ {
// TO-DO: Add new 'triggerText' parameter to the callers of this method via IVT so that we can get the text asynchronously instead.
// https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1080161
var sourceText = document.GetTextSynchronously(cancellationToken); var sourceText = document.GetTextSynchronously(cancellationToken);
var triggerText = sourceText.ToString(triggerSpan); var triggerText = sourceText.ToString(triggerSpan);
return triggerText; return triggerText;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册