feat: preferences dialog, SQL formatter, and enhanced table context menu
- PreferencesDialog (Tools → Preferences, Ctrl+,): font family/size, word wrap, default page size, query timeout, max history, auto-commit; font changes apply live to all open editors via apply_settings() cascade - CodeEditor and TableViewer now read initial values from settings singleton - SQL formatter (≡ Format button): uses sqlparse to reindent and uppercase keywords; gracefully prompts to install sqlparse if missing - Table viewer context menu: "Filter by this value" (populates WHERE and reloads), "Copy row as SQL INSERT" (ready-to-paste INSERT statements), renamed "Copy row" → "Copy row as TSV" for clarity Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,7 @@ pyodbc>=5.0.1
|
||||
keyring>=24.3.1
|
||||
cryptography>=42.0.0
|
||||
bcrypt>=4.0.0
|
||||
sqlparse>=0.5.0
|
||||
|
||||
# Packaging (dev dependency — only needed when building the distributable)
|
||||
pyinstaller>=6.0.0
|
||||
|
||||
Reference in New Issue
Block a user