I added the following to my system user.lua file
-- to turn dynamic words on and to start suggestions after 4 characters
acandtip.nodynwords = true
So far, ZBS has not shown any other errors.
Some of the files I'm opening in my lua program (not necessarily in ZBS)
are quite large and have a lot of variables in them.
If I start having issues again, I'll try some of the changes you suggested
in this email thread.
On Wed, Apr 24, 2024 at 1:53 AM Paul K <paul@xxxxxxxxxxxxx> wrote:
Hi Steve,
In ZBS, how do I disable the auto complete that shows while I'm typing?I think it may be causing some issues and would like to try to disable it.
You have a couple of options (see full list of autocomplete options
here:
https://studio.zerobrane.com/doc-general-preferences#auto-complete-and-tooltip
):
- You can disable autocomplete completely: autocomplete=false
- Increase the number of characters after which autocomplete is
offered: acandtip.startat=4 (2 is the default)
- Disable symbols: acandtip.symbols=false
- Disable dynamic words from opened files: acandtip.nodynwords=false
If you want to disable just autocomplete for reserved words, then you
can add `ide.specs.lua.keywords[1] = ""` to the config file (user.lua)
and also set `acandtip.symbols=false` (as otherwise keywords may be
extracted as dynamic words from other source code files).
Paul.
On Tue, Apr 23, 2024 at 2:18 PM Steve Conley <stevel.conley@xxxxxxxxx>
wrote:
I think it may be causing some issues and would like to try to disable it.
I'm using Lua for Windows as my lua program.
In ZBS, how do I disable the auto complete that shows while I'm typing?
I would also like to disable the auto complete of reserved words (func,if, then, end, etc.)