Skip to content

Commit 854d70b

Browse files
committed
Use delim name on status bar
Signed-off-by: worksofliam <[email protected]>
1 parent 8835527 commit 854d70b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/jobManager/statusBar.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { MarkdownString, StatusBarAlignment, ThemeColor, languages, window } fro
22
import { ServerComponent } from "../../connection/serverComponent";
33
import { JobManager } from "../../config";
44
import { getInstance } from "../../base";
5+
import Statement from "../../database/statement";
56

67
const item = window.createStatusBarItem(`sqlJob`, StatusBarAlignment.Left);
78

@@ -34,7 +35,7 @@ export async function updateStatusBar(options: {newJob?: boolean, canceling?: bo
3435
const job = selected.job;
3536

3637
if (job.getNaming() === `sql`) {
37-
toolTipItems.push(`SQL Naming.\n\nCurrent schema: \`${await job.getCurrentSchema()}\``);
38+
toolTipItems.push(`SQL Naming.\n\nCurrent schema: \`${Statement.delimName(await job.getCurrentSchema())}\``);
3839
} else {
3940
toolTipItems.push([
4041
`System Naming.`,

0 commit comments

Comments
 (0)