[GH-ISSUE #873] Undo SQL formatting #219

Closed
opened 2026-03-07 20:46:19 +03:00 by kerem · 2 comments
Owner

Originally created by @frank-lam on GitHub (May 31, 2022).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/873

when I click Format SQL, the script is formatted normally. However, you cannot use the shortcut keys Ctrl+Z to restore the script before formatting.

And the sql background has a layer of black highlight, I don't think the experience is particularly friendly, and there are fonts. The SQL editor can be optimized by referring to the codemirror component.

CodeMirror: Theme Demo
https://codemirror.net/demo/theme.html#hopscotch

Originally created by @frank-lam on GitHub (May 31, 2022). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/873 when I click `Format SQL`, the script is formatted normally. However, you cannot use the shortcut keys Ctrl+Z to restore the script before formatting. And the sql background has a layer of black highlight, I don't think the experience is particularly friendly, and there are fonts. The SQL editor can be optimized by referring to the codemirror component. CodeMirror: Theme Demo https://codemirror.net/demo/theme.html#hopscotch
kerem 2026-03-07 20:46:19 +03:00
Author
Owner

@kseniiaguzeeva commented on GitHub (Jun 1, 2022):

Thank you for the idea. We are going to implement Undo shortcut for Format SQL tool in one of the future releases.
Regarding the second point could you please send a screenshot with unsuitable layer?

<!-- gh-comment-id:1143236080 --> @kseniiaguzeeva commented on GitHub (Jun 1, 2022): Thank you for the idea. We are going to implement Undo shortcut for Format SQL tool in one of the future releases. Regarding the second point could you please send a screenshot with unsuitable layer?
Author
Owner

@kseniiaguzeeva commented on GitHub (Jul 8, 2022):

Implemented

<!-- gh-comment-id:1178784615 --> @kseniiaguzeeva commented on GitHub (Jul 8, 2022): Implemented
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#219
No description provided.