Skip to content

Commit d26d4ab

Browse files
committed
Update config documentation
1 parent 63d4a20 commit d26d4ab

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

server/src/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { z } from 'zod'
22

33
export const ConfigSchema = z
44
.object({
5-
// "Glob pattern for finding and parsing shell script files in the workspace."
5+
// Glob pattern for finding and parsing shell script files in the workspace. Used by the background analysis features across files.
66
globPattern: z.string().trim().default('**/*@(.sh|.inc|.bash|.command)'),
77

88
// Controls if Treesitter parsing errors will be highlighted as problems.
@@ -31,6 +31,7 @@ export const ConfigSchema = z
3131
}, z.array(z.string()))
3232
.default([]),
3333

34+
// Maximum number of files to analyze in the background. Set to 0 to disable background analysis.
3435
backgroundAnalysisMaxFiles: z.number().int().min(0).default(500),
3536
})
3637
.strict()

vscode-client/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"bashIde.backgroundAnalysisMaxFiles": {
3535
"type": "number",
3636
"default": 500,
37-
"description": "Maximum number of files to analyze in the background. Set to 0 to disable background analysis."
37+
"description": "Maximum number of files to analyze in the background. Set to 0 to disable background analysis.",
38+
"minimum": 0
3839
},
3940
"bashIde.explainshellEndpoint": {
4041
"type": "string",
@@ -49,7 +50,7 @@
4950
"bashIde.highlightParsingErrors": {
5051
"type": "boolean",
5152
"default": false,
52-
"description": "Controls if treesitter parsing errors will be highlighted as problems."
53+
"description": "Controls if Treesitter parsing errors will be highlighted as problems."
5354
},
5455
"bashIde.shellcheckPath": {
5556
"type": "string",

0 commit comments

Comments
 (0)