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
publicsealedclassVSConstants{publicenumVSStd2KCmdID{TYPECHAR=1,}publicenumVSStd97CmdID{Expand=187,}}classProgram{staticvoidMain(string[]args){switch((VSConstants.VSStd97CmdID)5){//Begin typing here vvvvcaseVSConstants.}}}
Type vss
Observe completion list is correct.
Dismiss completion. (Esc)
Open completion (Ctr-space)
Observe that incorrect item has been inserted and selected in list.
The text was updated successfully, but these errors were encountered:
@CyrusNajmabadi This case is interesting. We correctly type infer that VSConstants.VSStd97CmdID is required and call ToMinimalDisplayString on it. However, ToMinimalDisplayString doesn't account for any qualification that might appear before the position we pass in. It produces the most sensible minimal display string, which is, in fact, `VSConstants.VSstd97CmdID. We'll need to do some work to trim off any qualification that's already present. Do you know if we have any helpers that can already do that?
Version Used: 15.0.0.+26228.9
Steps to Reproduce:
vss
Esc
)Ctr-space
)The text was updated successfully, but these errors were encountered: