Update to new Upsilon library with more information in table variable symbol, fixes for number highlighting

This commit is contained in:
2018-11-27 14:59:17 +01:00
parent 682e784c20
commit 0619fe3d21
4 changed files with 4 additions and 4 deletions

View File

@@ -123,9 +123,9 @@ namespace UpsilonLanguageServer.Services
if (variableSymbol.VariableSymbol is TableVariableSymbol tableSymbol)
{
return new CompletionList(
tableSymbol.Variables.Select(x => new CompletionItem(x.Name,
CompletionItemKind.Variable, x.Type.ToString(),
$"\n\n{string.Join(" \n", x.CommentValue)}")));
tableSymbol.Variables.Select(x => new CompletionItem(x.Key,
CompletionItemKind.Variable, x.Value.Type.ToString(),
$"\n\n{string.Join(" \n", x.Value.CommentValue)}")));
}
return new CompletionList(
new[]