Example (Pascal);
program Test;
uses
//units
function MyFunctionA(ParameterA: Integer): Integer;
begin
Result := Parameter1;
end;
function MyFunctionB(ParameterB: Integer): Integer;
begin
Result := ParameterB; // <-- code completion suggests "ParameterA" parameter from function "MyFunctionA"
end;
begin
// code
end.
The code completion shouldn’t suggest the parameter of MyFunctionA
as a variable name in MyFunctionB
.
The parameter ParameterA
should only be allowed to how up in the code completion in the function MyFunctionA
!