~tristan957/vscode-postgres-hacker

Visual Studio Code extension for Postgres hackers and extension developers
Bump version to 0.2.0
Allow the formatter to work with old and new pgindent

clone

read-only
https://git.sr.ht/~tristan957/vscode-postgres-hacker
read/write
git@git.sr.ht:~tristan957/vscode-postgres-hacker

You can also use your local clone with git send-email.

#Postgres Hacker

This is a Visual Studio Code extension to assist developers in the development of Postgres and Postgres extensions.

#Features

#Formatting with pgindent

This extension can act as a formatter using the pgindent tool. See all the related postgres-hacker.pgindent settings for configuration options. In a typical Postgres source tree, the settings might look something like this:

{
  "[c]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "tristan957.postgres-hacker"
  },

  "files.associations": {
    "*.h": "c"
  },

  "postgres-hacker.enable": true,
  "postgres-hacker.pgindent.path": "src/tools/pgindent/pgindent",
  "postgres-hacker.pgindent.indent": "build/src/tools/pg_bsd_indent/pg_bsd_indent"
}

Discussion takes place on a mailing list at ~tristan957/vscode-postgres-discuss@lists.sr.ht. The archive can be viewed on SourceHut.


Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.