Skip to content

Commit 96b582c

Browse files
Remove duplicate possible values from defaultWorkspaceType
1 parent cbf04ea commit 96b582c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Documentation/Configuration File.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The structure of the file is currently not guaranteed to be stable. Options may
4444
- `level: "debug"|"info"|"default"|"error"|"fault"`: The level from which one onwards log messages should be written.
4545
- `privacyLevel: "sensitive"|"private"|"public"`: 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.
47-
- `defaultWorkspaceType: "buildServer"|"compilationDatabase"|"swiftPM"`: Default workspace type (buildserver|compdb|swiftpm). Overrides workspace type selection logic.
47+
- `defaultWorkspaceType: "buildServer"|"compilationDatabase"|"swiftPM"`: Default workspace type. Overrides workspace type selection logic.
4848
- `generatedFilesPath: string`: Directory in which generated interfaces and macro expansions should be stored.
4949
- `backgroundIndexing: boolean`: Whether background indexing is enabled.
5050
- `backgroundPreparationMode: string`: Determines how background indexing should prepare a target. Possible values are: - `build`: Build a target to prepare it. - `noLazy`: Prepare a target without generating object files but do not do lazy type checking and function body skipping. - `enabled`: Prepare a target without generating object files and the like.

Sources/SKOptions/SourceKitLSPOptions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public struct SourceKitLSPOptions: Sendable, Codable, Equatable {
303303
set { logging = newValue }
304304
}
305305

306-
/// Default workspace type (buildserver|compdb|swiftpm). Overrides workspace type selection logic.
306+
/// Default workspace type. Overrides workspace type selection logic.
307307
public var defaultWorkspaceType: WorkspaceType?
308308
/// Directory in which generated interfaces and macro expansions should be stored.
309309
public var generatedFilesPath: String?

config.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646
"type" : "object"
4747
},
4848
"defaultWorkspaceType" : {
49-
"description" : "Default workspace type (buildserver|compdb|swiftpm). Overrides workspace type selection logic.",
49+
"description" : "Default workspace type. Overrides workspace type selection logic.",
5050
"enum" : [
5151
"buildServer",
5252
"compilationDatabase",
5353
"swiftPM"
5454
],
55-
"markdownDescription" : "Default workspace type (buildserver|compdb|swiftpm). Overrides workspace type selection logic.",
55+
"markdownDescription" : "Default workspace type. Overrides workspace type selection logic.",
5656
"type" : "string"
5757
},
5858
"experimentalFeatures" : {

0 commit comments

Comments
 (0)