2
votes

I have installed new Tokyo Delphi. I believe there is a bug with the Tokyo IDE. Code completion is not working properly. What you can try is TQuery component. Maybe because it is depreciated but it should work. Also code completion sometimes only works with Uppercase chars after dot.

  q := TQuery.Create(nil);
  try
    q.SQL.Text := '...';
    q.FieldByName()
  finally
    q.Free;
  end;

When I write this line q.FieldByName after dot "." I type "F", I see codes in scroll but if I type "i" after "F", the code completion becomes empty and all is lost.

2
Submit a bug report. We can't fix the problem. - David Heffernan
Try using "I", upper case.. If it works, submit a bug report as everyone else has already been pointed out.. - Hasan Manzak
Check if code completion works in another Unit, if so it means that is a problem in your current unit with the uses clauses. - Soon Santos

2 Answers

1
votes

enter image description here

just find & replace bugged sybols: "LF CR" with "CR LF"

:}

0
votes

Sometimes the IDE has problems with autocompletion.

Did you installed last release of Delphi 10.2.1 and its first patch ?

If you are in debug mode or if there is an erroe in your code, the completion don't work. Try saving your files & project and compiling it.

You can also use Ctrl+Space to force autocompletion popup.