44fb77efd6
fix(body): handle CASE depth in body statement formatting
Hein2026-07-02 14:40:54 +02:00
4fab2fe652
feat(ui): add version display action and status bar widget * Implement PgTidyShowVersionAction to show pgtidy version * Create PgTidyStatusBarWidget for real-time version display * Update plugin.xml to register new action and widget
Hein2026-07-02 12:58:28 +02:00
c277171963
feat(pkg-nsis): add Windows installer workflow
Hein2026-07-01 18:01:25 +02:00
04711cf7b2
fix(cmd): handle errors and improve output formatting * update error handling in various commands to use blank identifier * enhance output formatting for better readability * add golangci-lint to Makefile for linting checks
Hein2026-07-01 12:53:25 +02:00
f17e87e749
fix(body): prevent joining continuation lines to comments * Ensure comment-only lines are flushed before adding new statements * Adjust logic to handle col-0 continuation lines correctly
warkanum2026-06-30 22:51:25 +02:00
c8030247f2
chore: more work done and planning with AI.
warkanum2026-06-30 22:43:25 +02:00
7fb76bae3d
feat(lint): add linter rules for migration and naming conventions
warkanum2026-06-27 22:15:02 +02:00
932c83dbad
feat(cmd): add unified diff output option for formatting * Implemented -d/--diff flag to print unified diffs. * Added unifiedDiff function for generating diffs. * Config discovery now merges fields from .pgtidy.yaml.
warkanum2026-06-27 19:32:57 +02:00
d4e6102932
feat(format): add PL/pgSQL body formatting and tests * Implemented formatting for BEGIN...END blocks in PL/pgSQL. * Added logic to handle indentation and blank lines. * Introduced tests for broken formatting cases.
warkanum2026-06-27 19:10:02 +02:00
6492ab35b7
feat(format): implement PL/pgSQL body formatting * add formatBody and formatBodyInner functions for DECLARE section * update needSpace to handle LBracket correctly * enhance semanticallyEqual to compare dollar-quoted bodies * add test data for broken layout scenarios
warkanum2026-06-23 21:15:27 +02:00
625ddc79a1
feat: initial plan
Hein2026-06-23 16:59:50 +02:00