How to Set up Code Completion Automatically lazarus / 9-Editor ---------------------------------------------------------------------- robsean · 2019-08-18 07:41 Hi,    How to Set up Code Completion Automatically? We are from China. We want to set up automatic code completion function.Instead of automatic completion by pressing Ctrl + W ---------------------------------------------------------------------- julkas · 2019-08-18 13:39 For our friends from China - may be this helps Tools -> Options -> Codetools. ---------------------------------------------------------------------- Martin_fr · 2019-08-18 15:51 Actually it should be ctrl-space (which invokes the intelligent code completion. ctrl-W is just word completion (any word that can be found in the editor(s)). That aside, the only auto invoke that exists is, if you press a ".". I.e.   MyObject. Then it will show you the methods/properties of that object. There is a slight delay. It only opens if you do not press another key for like a half a second. You can change that wait time. For more see https://bugs.freepascal.org/view.php?id=33054 ---------------------------------------------------------------------- robsean · 2019-08-19 00:45 Quote from: julkas on August 18, 2019, 03:39:47 pmFor our friends from China - may be this helps Tools -> Options -> Codetools. Thank you, But that's not what I want. ---------------------------------------------------------------------- robsean · 2019-08-19 01:06 Quote from: Martin_fr on August 18, 2019, 05:51:26 pmActually it should be ctrl-space (which invokes the intelligent code completion. ctrl-W is just word completion (any word that can be found in the editor(s)). That aside, the only auto invoke that exists is, if you press a ".". I.e.   MyObject. Then it will show you the methods/properties of that object. There is a slight delay. It only opens if you do not press another key for like a half a second. You can change that wait time. For more see https://bugs.freepascal.org/view.php?id=33054 Thank you,But that's not what I want. Maybe what I said is not clear. What I want is that when I press the letter c, the editor automatically displays the prompt Words which beginning with C on the next line of the letter c. like this: https://code.visualstudio.com/assets/docs/editor/intellisense/intellis ense_packagejson.gif ---------------------------------------------------------------------- Martin_fr · 2019-08-19 01:51 Quote from: robsean on August 19, 2019, 03:06:50 am What I want is that when I press the letter c, the editor automatically displays the prompt Words which beginning with C on the next line of the letter c. like this: https://code.visualstudio.com/assets/docs/editor/intellisense/intellis ense_packagejson.gif I understood that, yes. But: That is not available. Somebody did start that, but it was never finished: https://bugs.freepascal.org/view.php?id=33054 ---------------------------------------------------------------------- robsean · 2019-08-19 02:19 Quote from: Martin_fr on August 19, 2019, 03:51:28 amQuote from: robsean on August 19, 2019, 03:06:50 am What I want is that when I press the letter c, the editor automatically displays the prompt Words which beginning with C on the next line of the letter c. like this: https://code.visualstudio.com/assets/docs/editor/intellisense/intellis ense_packagejson.gif I understood that, yes. But: That is not available. Somebody did start that, but it was never finished: https://bugs.freepascal.org/view.php?id=33054 Thank you ---------------------------------------------------------------------- Edson · 2019-08-19 23:30 Just for information, SynFacilCompletion https://github.com/t-edson/SynFacilCompletion (son of SynFacilSyn) implements that feature with SynEdit. I don't know if it could be included in Lazarus in some way.