public void CompletesAllMembersAfterDot() { TestForCompletionItemsWithInsertText("Program.$", ("Delay", "Delay(${1:milliSeconds})"), ("End", "End()"), ("GetArgument", "GetArgument(${1:index})"), ("Pause", "Pause()"), ("ArgumentCount", "ArgumentCount"), ("Directory", "Directory")); }
public void CompletesWhileSnippet() { var snippet = new string[] { "While ${1:condition}", "EndWhile" }.Join(Environment.NewLine); TestForCompletionItemsWithInsertText("Whi$", ("While", snippet)); }
public void CompletesMembersStartingWithPrefix() { TestForCompletionItemsWithInsertText("TextWindow.Wri$", ("Write", "Write(${1:data})"), ("WriteLine", "WriteLine(${1:data})")); }
public void CompletesInACaseInsensitiveManner() { TestForCompletionItemsWithInsertText("Program.d$", ("Delay", "Delay(${1:milliSeconds})"), ("Directory", "Directory")); }