Skip to content

Commit d8ae2e0

Browse files
committed
code: Expose esbonio.sphinx.buildTriggers configuration option
1 parent 7cfe692 commit d8ae2e0

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

code/changes/935.enhancement.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Expose the `esbonio.sphinx.buildTriggers` configuration option

code/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,24 @@
164164
"default": null,
165165
"description": "The sphinx-build command to use."
166166
},
167+
"esbonio.sphinx.buildTriggers": {
168+
"scope": "window",
169+
"type": "object",
170+
"default": null,
171+
"properties": {
172+
"onSave": {
173+
"type": "boolean",
174+
"default": true,
175+
"description": "Trigger a build each time a file is saved"
176+
},
177+
"onChange": {
178+
"type": ["boolean", "number"],
179+
"default": 2.0,
180+
"description": "Trigger a build each time a file is changed"
181+
}
182+
},
183+
"description": "Triggers that control when the language server rebuilds your project."
184+
},
167185
"esbonio.sphinx.configOverrides": {
168186
"scope": "resource",
169187
"type": "object",

0 commit comments

Comments
 (0)