feat(editor): show column hints for INSERT values
This commit is contained in:
1 parent
ff570d5268
commit
86dad5db9f
18 files changed
+1076
-5
No files matched your search
@@ -18,6 +18,14 @@ describe("normalizeEditorSettings", () => {
|
||||
expect(normalizeEditorSettings({ showCurrentStatementFrame: false }).showCurrentStatementFrame).toBe(false);
|
||||
});
|
||||
|
||||
it("shows INSERT value column hints by default", () => {
|
||||
expect(normalizeEditorSettings({}).showInsertValueHints).toBe(true);
|
||||
});
|
||||
|
||||
it("preserves disabled INSERT value column hints", () => {
|
||||
expect(normalizeEditorSettings({ showInsertValueHints: false }).showInsertValueHints).toBe(false);
|
||||
});
|
||||
|
||||
it("keeps SQL semantic diagnostics in auto mode and disabled by default", () => {
|
||||
const settings = normalizeEditorSettings({});
|
||||
expect(settings.sqlSemanticDiagnosticsMode).toBe("auto");
|
||||
|
||||
Reference in new issue
Block a user