public inbox for [email protected]  
help / color / mirror / Atom feed
From: Pravesh Sharma <[email protected]>
To: [email protected]
Subject: [pgadmin-org/pgadmin4] f7045b: Fixed an issue where format sql was messing up ope...
Date: Thu, 01 Feb 2024 22:58:38 -0800
Message-ID: <pgadmin-org/pgadmin4/push/refs/heads/master/[email protected]> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgadmin-org/pgadmin4
  Commit: f7045b58d4d1b98b6a2f035267d2dd01c7235aa6
      https://github.com/pgadmin-org/pgadmin4/commit/f7045b58d4d1b98b6a2f035267d2dd01c7235aa6
  Author: Pravesh Sharma <[email protected]>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M docs/en_US/images/preferences_sql_formatting.png
    M docs/en_US/preferences.rst
    M web/package.json
    M web/pgadmin/misc/__init__.py
    R web/pgadmin/misc/sql/__init__.py
    M web/pgadmin/tools/sqleditor/static/js/components/sections/Query.jsx
    M web/pgadmin/tools/sqleditor/utils/query_tool_preferences.py
    M web/yarn.lock

  Log Message:
  -----------
  Fixed an issue where format sql was messing up operator. #5083

- The formatting is done on client side now using sql-formattor JS lib. Backend API based formatting is removed.
- Added new options data type case, expression width, function case, lines between queries, logical operator new line and new line before semicolon available in the new lib.
- Removed old options comma-first notations, re-indent aligned, re-indent, strip comments and wrap after N characters as not available in the new library.
- Capitalise casing is replaced with Preserve casing as it is not supported by the new library.
- Also fixes #6785, #6990, #7115.








reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: [pgadmin-org/pgadmin4] f7045b: Fixed an issue where format sql was messing up ope...
  In-Reply-To: <pgadmin-org/pgadmin4/push/refs/heads/master/[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox