roslyn
roslyn copied to clipboard
Rank AsyncCompletionSessionDataSnapshot.Defaults over IntelliCode starred suggestions
We have a scenario where I think we are correctly setting the default of the AsyncCompletionSessionDataSnapshot but IntelliSense is not selecting the desired item. It looks like the problem is that the default isn't being selected because it is not in the list of starred completion items (which are displayed at the top of the list).
Cyrus, Mark and I have discussed this and the preferred behavior would be:
- If the gray text matches something in the starred completion list, select that.
- Otherwise, if the gray text matches something elsewhere in the completion list, star that item and place in the starred section, and select it.
- Otherwise, ignore the gray text and select the 1st thing in the starred completion list.