[SOLVED] How to disable adding a space in autocomplete? lazarus / 9-Editor ---------------------------------------------------------------------- CM630 · 2026-02-09 07:53 When I use autocomplete (ctrl + space) there is always a space after the autocompleted word. I want to get rid of these spaces. There seems to be some related setting in Ide Option – Code tools – Identifier completion, but I see nothing about the space there. I cleared all checkboxes in Ide Option – Code tools – Space, but it did not help. ---------------------------------------------------------------------- Martin_fr · 2026-02-09 08:43 I just tried in a fresh install (4.4), and did not get spaces (without any config changes). So it should be possible. But I can't think of which setting may cause this... I did try, new app. Just did a "FormCreate" method, and completed 1) "Cascade;|" from Cas=> which should really have no space as it will have the semicolon 2) "Caption:=|;  " from Cap => which also had no space, not even after the := You could try to remove your config files, and see if going to the default will fix it. ---------------------------------------------------------------------- CM630 · 2026-02-09 09:26 I have reinstalled Lazarus today, and I have used  Uninstall and Remove previous settings during the installation. Still, I have the spaces. It is not something new, actually. ---------------------------------------------------------------------- Zvoni · 2026-02-09 09:43 Works for me Lazarus 4.3 (old fixes) ---------------------------------------------------------------------- CM630 · 2026-02-09 10:26 I figured it out. Why I type some text and I press ctrl+space I get the items in the list. If I press Space to autocomplete the word, there is a space after it. But if I press Enter there is no space. Pressing Tab works if there is only one possible word. ---------------------------------------------------------------------- Zvoni · 2026-02-09 10:50 Quote from: CM630 on February 09, 2026, 11:26:45 amIf I press Space to autocomplete the word, there is a space after it. Makes sense in a way. The pressed "space" has to go somewhere....