Nightly#70
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new feature to enable or disable the SQL Preview (Definition Viewer) in PgStudio, along with several usability improvements and code refactoring. The main focus is on allowing users to toggle the SQL Preview functionality via settings, commands, and UI actions, as well as improving the robustness and flexibility of related commands.
Feature: SQL Preview (Definition Viewer) Enable/Disable
pgstudio.ddlViewer.enabledto enable or disable SQL Preview features and actions. This can be toggled via settings or new UI actions.postgres-explorer.ddlViewer.toggleEnabledwith an associated icon, available in command palettes and context menus, allowing users to quickly enable or disable the SQL Preview. [1] [2] [3]Command and UI Enhancements
openEditableCopy,copyToClipboard) to work contextually with the active SQL Preview tab, improving user experience and error handling when no preview is open.Internal Refactoring and Robustness
DdlViewerServiceto track the last preview target instead of usingddlViewColumnandinitializedflags, simplifying logic for opening and focusing preview documents. [1] [2]Other
1.0.0-nightlyto reflect the pre-release/nightly status.