Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JMeld integration with SQuirreL SQL #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gerdwagner
Copy link

@gerdwagner gerdwagner commented May 9, 2023

  • In JMeldPanel replaced SHOW_FILE_TOOLBAR_OPTION by SHOW_FILE_LABEL_OPTION and SHOW_FILE_SAVE_BAR_OPTION to be able to keep the save button and the gutter navigation while dropping the file name display.

  • FilePanel.getSaveButton() was made public to be able to attach a listener to it.

… in SQuirreL SQL:

1. In JMeldPanel replaced SHOW_FILE_TOOLBAR_OPTION by SHOW_FILE_LABEL_OPTION and SHOW_FILE_SAVE_BAR_OPTION to be able to keep the save button and the gutter navigation while dropping the file name display.
2. FilePanel.getSaveButton() was made public to be able to attach a listener to it.
@albfan
Copy link
Owner

albfan commented May 11, 2023

Is there instructions to test this?

@albfan albfan changed the title The following adjustments were done on behalf of the JMeld intgration… JMeld integration with SQuirreL SQL May 11, 2023
@gerdwagner
Copy link
Author

You may download the latest version of SQuirreLSQL and connect to a database. With the SQL editor tab selected choose change tracking type GIT (see the toolbar button with the paw icon) and commit changes several times to GIT. Then click the SQL editor's left gutter and choose "Show GIT revisions". In the revisions dialog switch to the "Diff to local" tab.

  1. There you see JMeld embedded without displaying file names but navigation gutters and save buttons visible.
  2. When you move changes from left to right the save button on the right can be used and saving changes the SQL editor contents.

The latest SQuirreL version can be found here
https://github.com/squirrel-sql-client/squirrel-sql-snapshot-releases/releases/tag/snapshot-20230510_2127
or here
https://sourceforge.net/projects/squirrel-sql/files/3-snapshots/snapshot-20230510_2127/

@albfan
Copy link
Owner

albfan commented May 18, 2023

Sorry, I installed squirrel and access a postgress database.

I can see a history of changes but cannot find a way to compare them.

If it is possible can you record a screencast with your steps? or a series of screenshots

@gerdwagner
Copy link
Author

Thanks for your efforts.
As you already know how to connect to a database I hope the attached screenshot will help.

SQGitHist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants