feat: add jsonPreviewWrap option to settings

This commit is contained in:
Nybkox
2025-03-18 20:54:17 +01:00
parent bd94437c05
commit d8405feab3
2 changed files with 14 additions and 0 deletions

View File

@@ -403,6 +403,12 @@ ORDER BY
<FormCheckboxField name="behaviour.useTabPreviewMode" label="Use tab preview mode" defaultValue={true} />
<FormCheckboxField
name="behaviour.jsonPreviewWrap"
label={_t('settings.behaviour.jsonPreviewWrap', { defaultMessage: 'Wrap json in preview' })}
defaultValue={false}
/>
<div class="tip">
<FontIcon icon="img tip" /> When you single-click or select a file in the "Tables, Views, Functions" view, it
is shown in a preview mode and reuses an existing tab (preview tab). This is useful if you are quickly browsing