tranleduy2000 / pascalnide

Pascal Compiler for Android
92 stars 25 forks source link

`uses {{not existing or custom user module}}` breaks intellisence in such a way no custom user procedures or functions are suggested #73

Open EmilyGraceSeville7cf opened 2 months ago

EmilyGraceSeville7cf commented 2 months ago
program intellisence_test;
uses crt, non_existent;

type // keyword type is not suggested anywhere 
  TSampleAlias = integer; // TSampleAlias is not suggested anywhere
  TSampleRecord = record // TSampleRecord is not suggested anywhere
    sample_field: integer;
  end;

const
  sample_constant = 1; // constant sample_constant is not suggested anywhere 

var
  sample_variable: integer; // variable sample_variable is not suggested anywhere 

procedure sample_procedure(sample_parameter: integer);
begin
  // sample_parameter is not suggested anywhere
end;

function sample_function(sample_parameter: integer): integer;
begin
  // sample_parameter is not suggested anywhere
end;

begin
  readln;
end.

Just standard procedures and functions are shown in suggestions here due to using not existing module.