Skip to content

Commit 127f1c3

Browse files
authored
Merge pull request #1924 from bnbarham/verify-config-fix
Re-generate the configuration file documentation
2 parents 403f88e + 84f7931 commit 127f1c3

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Documentation/Configuration File.md

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ The structure of the file is currently not guaranteed to be stable. Options may
4545
- `privacyLevel: "public"|"private"|"sensitive"`: Whether potentially sensitive information should be redacted. Default is `public`, which redacts potentially sensitive information.
4646
- `inputMirrorDirectory: string`: Write all input received by SourceKit-LSP on stdin to a file in this directory. Useful to record and replay an entire SourceKit-LSP session.
4747
- `outputMirrorDirectory: string`: Write all data sent from SourceKit-LSP to the client to a file in this directory. Useful to record the raw communication between SourceKit-LSP and the client on a low level.
48+
- `sourcekitd`: Options modifying the behavior of sourcekitd.
49+
- `clientPlugin: string`: When set, load the SourceKit client plugin from this path instead of locating it inside the toolchain.
50+
- `servicePlugin: string`: When set, load the SourceKit service plugin from this path instead of locating it inside the toolchain.
4851
- `defaultWorkspaceType: "buildServer"|"compilationDatabase"|"swiftPM"`: Default workspace type. Overrides workspace type selection logic.
4952
- `generatedFilesPath: string`: Directory in which generated interfaces and macro expansions should be stored.
5053
- `backgroundIndexing: boolean`: Whether background indexing is enabled.

config.schema.json

+17
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,23 @@
191191
},
192192
"type" : "object"
193193
},
194+
"sourcekitd" : {
195+
"description" : "Options modifying the behavior of sourcekitd.",
196+
"markdownDescription" : "Options modifying the behavior of sourcekitd.",
197+
"properties" : {
198+
"clientPlugin" : {
199+
"description" : "When set, load the SourceKit client plugin from this path instead of locating it inside the toolchain.",
200+
"markdownDescription" : "When set, load the SourceKit client plugin from this path instead of locating it inside the toolchain.",
201+
"type" : "string"
202+
},
203+
"servicePlugin" : {
204+
"description" : "When set, load the SourceKit service plugin from this path instead of locating it inside the toolchain.",
205+
"markdownDescription" : "When set, load the SourceKit service plugin from this path instead of locating it inside the toolchain.",
206+
"type" : "string"
207+
}
208+
},
209+
"type" : "object"
210+
},
194211
"sourcekitdRequestTimeout" : {
195212
"description" : "The maximum duration that a sourcekitd request should be allowed to execute before being declared as timed out. In general, editors should cancel requests that they are no longer interested in, but in case editors don't cancel requests, this ensures that a long-running non-cancelled request is not blocking sourcekitd and thus most semantic functionality. In particular, VS Code does not cancel the semantic tokens request, which can cause a long-running AST build that blocks sourcekitd.",
196213
"markdownDescription" : "The maximum duration that a sourcekitd request should be allowed to execute before being declared as timed out. In general, editors should cancel requests that they are no longer interested in, but in case editors don't cancel requests, this ensures that a long-running non-cancelled request is not blocking sourcekitd and thus most semantic functionality. In particular, VS Code does not cancel the semantic tokens request, which can cause a long-running AST build that blocks sourcekitd.",

0 commit comments

Comments
 (0)