Re: PgAdmin4 and tabs

From: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
To: Michael Shapiro <mshapiro51(at)gmail(dot)com>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: PgAdmin4 and tabs
Date: 2019-09-21 02:30:00
Message-ID: CAKKotZTx6J7925gFSabGqyd_Vp=G4UN6ODLZfexR+W-vs2YMRg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hello,

On Fri, 20 Sep 2019, 20:41 Michael Shapiro, <mshapiro51(at)gmail(dot)com> wrote:

> It looks as if the display of function code in PgAdmin4 is not handling
> indentation properly, possibly due to TABS in the SQL.
>
> Code that looks like
>
> if .....
> then
> <TAB> if ....
> <TAB> then
> <TAB><TAB> ...
> <TAB>end if;
> end if;
>
> gets displayed as
>
> if ...
> then
> if ...
> then
> ... <<-- this line is not indented properly
> end if;
> end if;
>
> Is there a setting/preference for how to render TABS in the SQL display?
>

Yes, Please refer
https://www.pgadmin.org/docs/pgadmin4/4.13/preferences.html#the-query-tool-node

Go to Editor section, and change *Tab size* and *Use spaces* options as
per your needs.

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Michael Shapiro 2019-09-21 10:44:43 Re: PgAdmin4 and tabs
Previous Message Bikram MAJUMDAR 2019-09-20 18:39:34 pgwatch2 monitoring dashboards