Re: Forcing autocomplete on keypress - Mailing list pgadmin-support

From Aditya Toshniwal
Subject Re: Forcing autocomplete on keypress
Date
Msg-id CAM9w-_k7jg81cu3Djor7YGcSFDaVN1nLKsh+G0=3rBx_kFQW5w@mail.gmail.com
Whole thread Raw
In response to Forcing autocomplete on keypress  (Zac Warham <cazwarham@hotmail.com>)
List pgadmin-support
Hi Zac,

You can use PGADMIN_PREFERENCES_JSON_FILE in https://www.pgadmin.org/docs/pgadmin4/8.13/container_deployment.html

On Wed, Dec 4, 2024 at 12:45 AM Zac Warham <cazwarham@hotmail.com> wrote:
We have a docker setup for pgadmin and we want to force autocomplete on keypress at launch (not through the preferences) using an environment variable or config of some sort. I tried modifying the file at https://github.com/pgadmin-org/pgadmin4/blob/master/web/pgadmin/tools/sqleditor/utils/query_tool_preferences.py#L792 and replacing False with True and this works but then breaks postgres in other ways. Is there a proper way of doing this beyond modifying this file?



--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Staff SDE II | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"

pgadmin-support by date:

Previous
From: Zac Warham
Date:
Subject: Forcing autocomplete on keypress
Next
From: Aditya Toshniwal
Date:
Subject: Re: Version 8.13 now encapsulates any copy and paste value in double quotes - how to remove that?