Tom F 83 Posted July 20, 2022 (edited) I can't get Code Completion to work. It pops up suggestions when I type a period after an object name. But, when I type a standalone variable name, I want it to offer a list of matching variables. For example, in an empty project, when I type "Vari" below, I want it to automatically suggest VariableName. Or must I always hit CTRL-Space for that list? procedure TForm1.FormShow(Sender: TObject); var VariableName: integer; begin Vari end; Is there some configuration option I've missed enabling? This is in D11 with Update 1. My configuration: Edited July 20, 2022 by Tom F Share this post Link to post
Sherlock 663 Posted July 21, 2022 The really fine manual states this behavior as being as expected. Share this post Link to post
Tom F 83 Posted July 21, 2022 Thanks, Sherlock. I thought I recalled an auto-invoke that would make suggestions without my having to press a special key (or type .) I guess I was mistaken. Share this post Link to post
Sherlock 663 Posted July 22, 2022 Perhaps GExperts can do that trick... I'm not sure though. Share this post Link to post
dummzeuch 1505 Posted July 22, 2022 24 minutes ago, Sherlock said: Perhaps GExperts can do that trick... I'm not sure though. No, it can't. 1 Share this post Link to post
haentschman 92 Posted July 29, 2022 Hi... Quote At present, only CnPack can do this. ...bevore LSP yes. With SLP (D11) not so good. Sometimes Ok, sometimes fail...😕 PS: i am a fan of this code completion 😉 ...but so not. 🙄 Share this post Link to post
cocobom 0 Posted July 29, 2022 This is probably not the problem of CnPack. I have studied the source code of CnPack. It just passes keyboard parameters to Delphi and intercepts Delphi's automatic code completion list. I seriously doubt that this is the problem of Delphi itself. Share this post Link to post