public void FindCodeCompletionExpression(string command, string expression, string prefix) { var ex = CodeCompletion.GetExpressionToComplete(command); Assert.AreEqual(expression, ex.Expression); Assert.AreEqual(prefix, ex.Prefix); }
/// <summary>Returns completion options and completion string for the currently written command</summary> public Tuple <List <string>, string> CodeComplete(string command) { return(CodeCompletion.GetCompletionOptions(_scriptState, _imports, command)); }