Skip to content

Commit

Permalink
update warning message format for large SQL documents
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Jan 9, 2025
1 parent 03c8680 commit 8fd09c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-db2i",
"displayName": "Db2 for IBM i",
"description": "Db2 for IBM i tools in VS Code",
"version": "1.7.0-syntaxcheck11",
"version": "1.7.0-syntaxcheck12",
"engines": {
"vscode": "^1.95.0"
},
Expand Down Expand Up @@ -1339,4 +1339,4 @@
"showdown": "^2.1.0",
"sql-formatter": "^14.0.0"
}
}
}
2 changes: 1 addition & 1 deletion src/language/providers/problemProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const problemProvider = [
if (isSql) {
if (checkerAvailable() && !isSafeDocument(e)) {
const basename = e.fileName ? path.basename(e.fileName) : `Untitled`;
window.showWarningMessage(`The SQL syntax checker is disabled for this document (${basename}) because it is too large.`);
window.showWarningMessage(`${basename}: the SQL syntax checker is disabled for this document because it is too large.`);
}

if (checkOnOpen()) {
Expand Down

0 comments on commit 8fd09c6

Please sign in to comment.