fix in intellisense

This commit is contained in:
Ivan Bondarev 2023-11-06 20:42:54 +01:00
parent 8bbc009888
commit 36c606fe4c
2 changed files with 11 additions and 0 deletions

View file

@ -164,6 +164,11 @@ namespace CodeCompletion
ntr.names.Add(new ident(tn.PrintableName.Replace("()", "")));
return ntr;
}
else if (tn.type_special_kind == PascalABCCompiler.SemanticTree.type_special_kind.array_kind)
{
array_type arr_type = new array_type(null, BuildSyntaxNodeForTypeReference(tn.element_type));
return arr_type;
}
var arr = tn.full_name.Split('.');
foreach (string s in arr)
{

View file

@ -0,0 +1,6 @@

uses ABCDatabases;
begin
var pupils := ЗаполнитьМассивУчеников;
var s := pupils[0].Фамилия{@property Ученик.Фамилия: string; readonly;@};
end.