You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/Configuration File.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,12 @@ The structure of the file is currently not guaranteed to be stable. Options may
20
20
-`swiftSDKsDirectory: string`: Equivalent to SwiftPM's `--swift-sdks-path` option.
21
21
-`swiftSDK: string`: Equivalent to SwiftPM's `--swift-sdk` option.
22
22
-`triple: string`: Equivalent to SwiftPM's `--triple` option.
23
+
-`traits: string[]`: Traits to enable for the package. Equivalent to SwiftPM's `--traits` option.
23
24
-`cCompilerFlags: string[]`: Extra arguments passed to the compiler for C files. Equivalent to SwiftPM's `-Xcc` option.
24
25
-`cxxCompilerFlags: string[]`: Extra arguments passed to the compiler for C++ files. Equivalent to SwiftPM's `-Xcxx` option.
25
26
-`swiftCompilerFlags: string[]`: Extra arguments passed to the compiler for Swift files. Equivalent to SwiftPM's `-Xswiftc` option.
26
27
-`linkerFlags: string[]`: Extra arguments passed to the linker. Equivalent to SwiftPM's `-Xlinker` option.
28
+
-`buildToolsSwiftCompilerFlags: string[]`: Extra arguments passed to the compiler for Swift files or plugins. Equivalent to SwiftPM's `-Xbuild-tools-swiftc` option.
27
29
-`disableSandbox: boolean`: Disables running subprocesses from SwiftPM in a sandbox. Equivalent to SwiftPM's `--disable-sandbox` option. Useful when running `sourcekit-lsp` in a sandbox because nested sandboxes are not supported.
28
30
-`compilationDatabase`: Dictionary with the following keys, defining options for workspaces with a compilation database.
29
31
-`searchPaths: string[]`: Additional paths to search for a compilation database, relative to a workspace root.
@@ -38,7 +40,6 @@ The structure of the file is currently not guaranteed to be stable. Options may
38
40
-`indexStorePath: string`: Directory in which a separate compilation stores the index store. By default, inferred from the build system.
39
41
-`indexDatabasePath: string`: Directory in which the indexstore-db should be stored. By default, inferred from the build system.
40
42
-`indexPrefixMap: [string: string]`: Path remappings for remapping index data for local use.
41
-
-`maxCoresPercentageToUseForBackgroundIndexing: number`: A hint indicating how many cores background indexing should use at most (value between 0 and 1). Background indexing is not required to honor this setting.
42
43
-`updateIndexStoreTimeout: integer`: Number of seconds to wait for an update index store task to finish before killing it.
43
44
-`logging`: Options related to logging, changing SourceKit-LSP’s logging behavior on non-Apple platforms. On Apple platforms, logging is done through the [system log](Diagnose%20Bundle.md#Enable%20Extended%20Logging). These options can only be set globally and not per workspace.
44
45
-`level: "debug"|"info"|"default"|"error"|"fault"`: The level from which one onwards log messages should be written.
/// Path remappings for remapping index data for local use.
169
190
publicvarindexPrefixMap:[String:String]?
170
191
/// A hint indicating how many cores background indexing should use at most (value between 0 and 1). Background indexing is not required to honor this setting.
192
+
///
193
+
/// - Note: Internal option, may not work as intended
0 commit comments