diff --git a/Contributor Documentation/LSP Extensions.md b/Contributor Documentation/LSP Extensions.md index d8552e66f..d99af467b 100644 --- a/Contributor Documentation/LSP Extensions.md +++ b/Contributor Documentation/LSP Extensions.md @@ -81,80 +81,6 @@ Added case identifier = 'identifier' ``` -## `WorkspaceFolder` - -Added field: - -```ts -/** - * Build settings that should be used for this workspace. - * - * For arguments that have a single value (like the build configuration), this takes precedence over the global - * options set when launching sourcekit-lsp. For all other options, the values specified in the workspace-specific - * build setup are appended to the global options. - */ -var buildSetup?: WorkspaceBuildSetup -``` - -with - -```ts -/** - * The configuration to build a workspace in. - */ -export enum BuildConfiguration { - case debug = 'debug' - case release = 'release' -} - -/** - * The type of workspace; default workspace type selection logic can be overridden. - */ -export enum WorkspaceType { - buildServer = 'buildServer' - compilationDatabase = 'compilationDatabase' - swiftPM = 'swiftPM' -} - -/// Build settings that should be used for a workspace. -interface WorkspaceBuildSetup { - /** - * The configuration that the workspace should be built in. - */ - buildConfiguration?: BuildConfiguration; - - /** - * The default workspace type to use for this workspace. - */ - defaultWorkspaceType?: WorkspaceType; - - /** - * The build directory for the workspace. - */ - scratchPath?: DocumentURI; - - /** - * Arguments to be passed to any C compiler invocations. - */ - cFlags?: string[]; - - /** - * Arguments to be passed to any C++ compiler invocations. - */ - cxxFlags?: string[]; - - /** - * Arguments to be passed to any linker invocations. - */ - linkerFlags?: string[]; - - /** - * Arguments to be passed to any Swift compiler invocations. - */ - swiftFlags?: string[]; -} -``` - ## `textDocument/completion` Added field: