Problem
VS Code has a preview mode, and we'd like to add this mode to TablePro. Specifically, we want newly opened table tabs to be in preview mode, with the current tab being replaced by the new table tab. If a tab is no longer in preview mode, opening other tables will create a new tab instead of replacing the current one.
The following points should be noted:
-
Newly opened query tab will never be in preview mode.
-
Newly opened tables are in preview mode by default (if this setting exists and is enabled).
-
Preview mode tab titles are italicized (refer to VS Code or TablePlus).
-
Double-clicking the tab title or making any changes to a preview mode tab will automatically exit preview mode.
Implementing this feature will make multi-tab operations and management more convenient and make the behavior of multiple tabs more predictable.
Here is a example from vscode, .gitignore tab not in preview mode, and readme file in preview mode
Proposed solution
Added setting to enable or disable new tab preview
Alternatives considered
Do not add any settings, just start the preview mode.
Related database type
None
Problem
VS Code has a preview mode, and we'd like to add this mode to TablePro. Specifically, we want newly opened table tabs to be in preview mode, with the current tab being replaced by the new table tab. If a tab is no longer in preview mode, opening other tables will create a new tab instead of replacing the current one.
The following points should be noted:
Newly opened query tab will never be in preview mode.
Newly opened tables are in preview mode by default (if this setting exists and is enabled).
Preview mode tab titles are italicized (refer to VS Code or TablePlus).
Double-clicking the tab title or making any changes to a preview mode tab will automatically exit preview mode.
Implementing this feature will make multi-tab operations and management more convenient and make the behavior of multiple tabs more predictable.
Here is a example from vscode, .gitignore tab not in preview mode, and readme file in preview mode
Proposed solution
Added setting to enable or disable new tab preview
Alternatives considered
Do not add any settings, just start the preview mode.
Related database type
None